diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:26 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:26 -0700 |
commit | 7751bd4c715ea8478113e34b49b5a794a4642e8e (patch) | |
tree | 537ba82b3780f933c2f17028febd6fe3a2332190 /zconf.h.in | |
parent | e0ff940e1adb68d3575705ebf1546d9f07ad3b4a (diff) | |
download | zlib-1.2.3.9.tar.gz zlib-1.2.3.9.tar.bz2 zlib-1.2.3.9.zip |
zlib 1.2.3.9v1.2.3.9
Diffstat (limited to '')
-rw-r--r-- | zconf.h.in (renamed from zconf.h) | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,8 @@ | |||
7 | 7 | ||
8 | #ifndef ZCONF_H | 8 | #ifndef ZCONF_H |
9 | #define ZCONF_H | 9 | #define ZCONF_H |
10 | #cmakedefine Z_PREFIX | ||
11 | #cmakedefine Z_HAVE_UNISTD_H | ||
10 | 12 | ||
11 | /* | 13 | /* |
12 | * If you *really* need a unique prefix for all types and library functions, | 14 | * If you *really* need a unique prefix for all types and library functions, |
@@ -361,6 +363,10 @@ typedef uLong FAR uLongf; | |||
361 | #endif | 363 | #endif |
362 | 364 | ||
363 | #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ | 365 | #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ |
366 | # define Z_HAVE_UNISTD_H | ||
367 | #endif | ||
368 | |||
369 | #ifdef Z_HAVE_UNISTD_H | ||
364 | # include <sys/types.h> /* for off_t */ | 370 | # include <sys/types.h> /* for off_t */ |
365 | # include <unistd.h> /* for SEEK_* and off_t */ | 371 | # include <unistd.h> /* for SEEK_* and off_t */ |
366 | # ifdef VMS | 372 | # ifdef VMS |