summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/zutil.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-01 13:14:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-08 13:00:16 +0900
commit840945161b56783948793acd952fa48bdbddc211 (patch)
tree8b4f96707077d236f5904add531428db3582f2c3 /src/3rdparty/zlib/zutil.h
parentb3f74bb12ab86a90a05f7d48325b25c408d0b985 (diff)
downloadtqt-84094516.tar.gz
tqt-84094516.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 37293565c31fa447fbf7cb0566be51d1204e8991)
Diffstat (limited to 'src/3rdparty/zlib/zutil.h')
-rw-r--r--src/3rdparty/zlib/zutil.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/3rdparty/zlib/zutil.h b/src/3rdparty/zlib/zutil.h
index 50bcbbf6e..e673e7244 100644
--- a/src/3rdparty/zlib/zutil.h
+++ b/src/3rdparty/zlib/zutil.h
@@ -99,12 +99,8 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#if defined(MACOS) || defined(TARGET_OS_MAC)
# define OS_CODE 0x07
-# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
-# include <unix.h> /* for fdopen */
-# else
-# ifndef fdopen
-# define fdopen(fd,mode) NULL /* No fdopen() */
-# endif
+# ifndef fdopen
+# define fdopen(fd,mode) NULL /* No fdopen() */
# endif
#endif