From a37cbab6de167c4033c6601088135bf7cc3abd0a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 31 Dec 2024 17:02:45 +0900 Subject: Remove support for Metrowerks compiler Signed-off-by: Michele Calgaro --- kernel/ksquirrel-libs-png/pngconf.h | 16 +++------------- 1 file 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 -- cgit v1.2.1