File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -137,17 +137,8 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
137137# endif
138138#endif
139139
140- #if defined(MACOS ) || defined( TARGET_OS_MAC )
140+ #if defined(MACOS )
141141# 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
151142#endif
152143
153144#ifdef __acorn
@@ -170,18 +161,6 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
170161# define OS_CODE 19
171162#endif
172163
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-
185164#if defined(__BORLANDC__ ) && !defined(MSDOS )
186165 #pragma warn -8004
187166 #pragma warn -8008
You can’t perform that action at this time.
0 commit comments