diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:22 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:22 -0700 |
commit | 05d47d2627a68a15ba23fb10b17fbc73551aeec1 (patch) | |
tree | 8d5e1688e69c51c487e8b44a9e9d8ca71f67cfd0 /gzguts.h | |
parent | a1141160bcf563f1a269be68a21f1651f687bb69 (diff) | |
download | zlib-05d47d2627a68a15ba23fb10b17fbc73551aeec1.tar.gz |
zlib 1.2.4.1v1.2.4.1
Diffstat (limited to 'gzguts.h')
-rw-r--r-- | gzguts.h | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -3,9 +3,9 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ -#ifdef _LARGEFILE64_SOURCE +#if _LARGEFILE64_SOURCE == 1 # ifndef _LARGEFILE_SOURCE -# define _LARGEFILE_SOURCE +# define _LARGEFILE_SOURCE 1 # endif # ifdef _FILE_OFFSET_BITS # undef _FILE_OFFSET_BITS @@ -44,7 +44,7 @@ #endif /* get errno and strerror definition */ -#if defined UNDER_CE && defined NO_ERRNO_H +#if defined UNDER_CE # include <windows.h> # define zstrerror() gz_strwinerror((DWORD)GetLastError()) #else @@ -56,13 +56,7 @@ # endif #endif -/* MVS fdopen() */ -#ifdef __MVS__ - #pragma map (fdopen , "\174\174FDOPEN") - FILE *fdopen(int, const char *); -#endif - -#ifdef _LARGEFILE64_SOURCE +#if _LARGEFILE64_SOURCE == 1 # define z_off64_t off64_t #else # define z_off64_t z_off_t @@ -117,7 +111,7 @@ typedef gz_state FAR *gz_statep; /* shared functions */ ZEXTERN void ZEXPORT gz_error OF((gz_statep, int, const char *)); -#if defined UNDER_CE && defined NO_ERRNO_H +#if defined UNDER_CE ZEXTERN char ZEXPORT *gz_strwinerror OF((DWORD error)); #endif |