aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/zutil.h b/zutil.h
index 0bd2dbc..bb513cb 100644
--- a/zutil.h
+++ b/zutil.h
@@ -137,17 +137,8 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
137# endif 137# endif
138#endif 138#endif
139 139
140#if defined(MACOS) || defined(TARGET_OS_MAC) 140#if defined(MACOS)
141# define OS_CODE 7 141# define OS_CODE 7
142# ifndef Z_SOLO
143# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
144# include <unix.h> /* for fdopen */
145# else
146# ifndef fdopen
147# define fdopen(fd,mode) NULL /* No fdopen() */
148# endif
149# endif
150# endif
151#endif 142#endif
152 143
153#ifdef __acorn 144#ifdef __acorn
@@ -170,18 +161,6 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
170# define OS_CODE 19 161# define OS_CODE 19
171#endif 162#endif
172 163
173#if defined(_BEOS_) || defined(RISCOS)
174# define fdopen(fd,mode) NULL /* No fdopen() */
175#endif
176
177#if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined __INTERIX
178# if defined(_WIN32_WCE)
179# define fdopen(fd,mode) NULL /* No fdopen() */
180# else
181# define fdopen(fd,type) _fdopen(fd,type)
182# endif
183#endif
184
185#if defined(__BORLANDC__) && !defined(MSDOS) 164#if defined(__BORLANDC__) && !defined(MSDOS)
186 #pragma warn -8004 165 #pragma warn -8004
187 #pragma warn -8008 166 #pragma warn -8008