diff options
Diffstat (limited to 'zlibdefs.h.cmakein')
| -rw-r--r-- | zlibdefs.h.cmakein | 16 |
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 | ||
