summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 17:02:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 23:46:07 +0900
commit906c59e625cac661b96b901630110a36dcda8192 (patch)
tree0db28b105e480d394b467bd9ba16ceff91efd968 /kernel
parent0b452510e812426105a40af1a21803ea55d4c894 (diff)
downloadlibksquirrel-r14.1.x.tar.gz
libksquirrel-r14.1.x.zip
Remove support for Metrowerks compilerr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a37cbab6de167c4033c6601088135bf7cc3abd0a)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ksquirrel-libs-png/pngconf.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/kernel/ksquirrel-libs-png/pngconf.h b/kernel/ksquirrel-libs-png/pngconf.h
index eaa9f85..09e326f 100644
--- a/kernel/ksquirrel-libs-png/pngconf.h
+++ b/kernel/ksquirrel-libs-png/pngconf.h
@@ -288,13 +288,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
@@ -355,7 +351,7 @@
#endif
/* Codewarrior on NT has linking problems without this. */
-#if (defined(__MWERKS__) && defined(WIN32)) || defined(__STDC__)
+#if defined(__STDC__)
# define PNG_ALWAYS_EXTERN
#endif
@@ -723,12 +719,6 @@
# endif
# endif
-# if (defined(__MWERKS__) && ((__MWERKS__ < 0x0900) || macintosh))
-# if !defined(PNG_MMX_CODE_SUPPORTED) && !defined(PNG_NO_MMX_CODE)
-# define PNG_NO_MMX_CODE
-# endif
-# endif
-
# if !defined(PNG_MMX_CODE_SUPPORTED) && !defined(PNG_NO_MMX_CODE)
# define PNG_MMX_CODE_SUPPORTED
# endif