summaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/zutil.h b/zutil.h
index 082a87b..ac30b8e 100644
--- a/zutil.h
+++ b/zutil.h
@@ -110,8 +110,16 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */
110# define OS_CODE 0x05 110# define OS_CODE 0x05
111#endif 111#endif
112 112
113#ifdef MACOS 113#if defined(MACOS) || defined(TARGET_OS_MAC)
114# define OS_CODE 0x07 114# define OS_CODE 0x07
115# ifndef fdopen
116# define fdopen(fd,mode) NULL /* No fdopen() */
117# endif
118#endif
119#if defined(__MWERKS__) && !defined(fdopen)
120# if __dest_os != __be_os && __dest_os != __win32_os
121# define fdopen(fd,mode) NULL
122# endif
115#endif 123#endif
116 124
117#ifdef __50SERIES /* Prime/PRIMOS */ 125#ifdef __50SERIES /* Prime/PRIMOS */