summaryrefslogtreecommitdiff
path: root/zconf.h.in
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:27:26 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:27:26 -0700
commit7751bd4c715ea8478113e34b49b5a794a4642e8e (patch)
tree537ba82b3780f933c2f17028febd6fe3a2332190 /zconf.h.in
parente0ff940e1adb68d3575705ebf1546d9f07ad3b4a (diff)
downloadzlib-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
diff --git a/zconf.h b/zconf.h.in
index 71a41ad..eec8ab0 100644
--- a/zconf.h
+++ b/zconf.h.in
@@ -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