Skip to content

Commit e1d5a89

Browse files
tectonic/dpx-dpxfile: remove useless defines
1 parent 1a16c53 commit e1d5a89

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

build.rs

-2
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ fn main() {
251251
.define("HAVE_LIBPNG", Some("1"))
252252
.define("HAVE_MKSTEMP", Some("1"))
253253
.define("HAVE_STDINT_H", Some("1"))
254-
.define("HAVE_SYS_TYPES_H", Some("1"))
255-
.define("HAVE_SYS_WAIT_H", Some("1"))
256254
.define("HAVE_TM_GMTOFF", Some("1"))
257255
.define("HAVE_ZLIB", Some("1"))
258256
.define("HAVE_ZLIB_COMPRESS2", Some("1"))

tectonic/dpx-dpxfile.c

-11
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,7 @@
3535

3636
#define MAX_KEY_LEN 16
3737

38-
/*#include <kpathsea/lib.h>*/
3938
#include <string.h>
40-
#if HAVE_SYS_WAIT_H
41-
#include <sys/wait.h>
42-
#endif
43-
#ifndef WEXITSTATUS
44-
#define WEXITSTATUS(val) ((unsigned)(val) >> 8)
45-
#endif
46-
#ifndef WIFEXITED
47-
#define WIFEXITED(val) (((val) & 255) == 0)
48-
#endif
49-
5039

5140
static int verbose = 0;
5241
int keep_cache = 0;

0 commit comments

Comments
 (0)