summaryrefslogtreecommitdiff
path: root/zlibdefs.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:26:49 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:26:49 -0700
commitd004b047838a7e803818b4973a2e39e0ff8c1fa2 (patch)
tree9e8c804f78d73152c70d4ff24c6a7531a0d46782 /zlibdefs.h
parentf6194ef39af5864f792412460c354cc339dde7d1 (diff)
downloadzlib-1.2.3.5.tar.gz
zlib-1.2.3.5.tar.bz2
zlib-1.2.3.5.zip
zlib 1.2.3.5v1.2.3.5
Diffstat (limited to '')
-rw-r--r--zlibdefs.h.cmakein16
1 files changed, 16 insertions, 0 deletions
diff --git a/zlibdefs.h.cmakein b/zlibdefs.h.cmakein
new file mode 100644
index 0000000..418bb6b
--- /dev/null
+++ b/zlibdefs.h.cmakein
@@ -0,0 +1,16 @@
1/* zlibdefs.h -- compile-time definitions for the zlib compression library
2 * Copyright (C) 1995-2006 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5
6#cmakedefine HAVE_UNISTD_H
7#ifdef HAVE_UNISTD_H
8 #include <sys/types.h> /* for off_t */
9 #include <unistd.h> /* for SEEK_* and off_t */
10 #ifdef VMS
11 # include <unixio.h> /* for off_t */
12 #endif
13 #ifndef z_off_t
14 # define z_off_t off_t
15 #endif
16#endif