diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-31 17:02:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-31 17:02:45 +0900 |
commit | a37cbab6de167c4033c6601088135bf7cc3abd0a (patch) | |
tree | 0db28b105e480d394b467bd9ba16ceff91efd968 /kernel/ksquirrel-libs-png/pngconf.h | |
parent | c5d8e3ada8ef474e4125eff38556e65d4a618a18 (diff) | |
download | libksquirrel-a37cbab6de167c4033c6601088135bf7cc3abd0a.tar.gz libksquirrel-a37cbab6de167c4033c6601088135bf7cc3abd0a.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kernel/ksquirrel-libs-png/pngconf.h')
-rw-r--r-- | kernel/ksquirrel-libs-png/pngconf.h | 16 |
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 |