summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng
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-01 13:14:26 +0900
commit37293565c31fa447fbf7cb0566be51d1204e8991 (patch)
tree0b62542b6be5ad60d1e6e02d68557554ebba6f3e /src/3rdparty/libpng
parent7eccd2d0161a0e17e0609b26a006df35dfd0f462 (diff)
downloadtqt3-37293565c31fa447fbf7cb0566be51d1204e8991.tar.gz
tqt3-37293565c31fa447fbf7cb0566be51d1204e8991.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/3rdparty/libpng')
-rw-r--r--src/3rdparty/libpng/pngconf.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/3rdparty/libpng/pngconf.h b/src/3rdparty/libpng/pngconf.h
index 6c07bceab..313e4557d 100644
--- a/src/3rdparty/libpng/pngconf.h
+++ b/src/3rdparty/libpng/pngconf.h
@@ -225,13 +225,9 @@
#endif /* PNGARG */
-/* Try to determine if we are compiling on a Mac. Note that testing for
- * just __MWERKS__ is not good enough, because the Codewarrior is now used
- * on non-Mac platforms.
- */
+/* Try to determine if we are compiling on a Mac. */
#ifndef MACOS
-# if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \
- defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC)
+# if defined(applec) || defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC)
# define MACOS
# endif
#endif
@@ -294,8 +290,7 @@
# endif
#endif
-/* Codewarrior on NT has linking problems without this. */
-#if (defined(__MWERKS__) && defined(WIN32)) || defined(__STDC__)
+#if defined(__STDC__)
# define PNG_ALWAYS_EXTERN
#endif