summaryrefslogtreecommitdiffstats
path: root/src/moz-sdk/jni_md.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-30 22:39:10 +0900
committerMichele Calgaro <[email protected]>2024-12-31 23:44:04 +0900
commite288b2693bd63840f593ea4caf1074782102e475 (patch)
tree3998cc79975e726347b3b6f57dc0e6a51f161461 /src/moz-sdk/jni_md.h
parentfe2b6c97678a89ad0617c54b6741a46535404d33 (diff)
downloadkmplayer-e288b2693bd63840f593ea4caf1074782102e475.tar.gz
kmplayer-e288b2693bd63840f593ea4caf1074782102e475.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5d7a5f0ba9983f16f3b4e7889e5997b2019250f2)
Diffstat (limited to 'src/moz-sdk/jni_md.h')
-rw-r--r--src/moz-sdk/jni_md.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/moz-sdk/jni_md.h b/src/moz-sdk/jni_md.h
index 22d0de9..2274410 100644
--- a/src/moz-sdk/jni_md.h
+++ b/src/moz-sdk/jni_md.h
@@ -65,7 +65,7 @@
* This is where we define the mystical JNI_PUBLIC_API macro that works on all
* platforms. If you're running with Visual C++ or Symantec C
* development environment on the PC, you're all set. Or if you're on the Mac
- * with Metrowerks, Symantec or MPW with SC you're ok too. For UNIX it shouldn't
+ * with Symantec or MPW with SC you're ok too. For UNIX it shouldn't
* matter.
* Changes by sailesh on 9/26
@@ -144,19 +144,7 @@
/* Mac */
#elif macintosh || Macintosh || THINK_C
-# if defined(__MWERKS__) /* Metrowerks */
-# if !__option(enumsalwaysint)
-# error You need to define 'Enums Always Int' for your project.
-# endif
-# if defined(TARGET_CPU_68K) && !TARGET_RT_MAC_CFM
-# if !__option(fourbyteints)
-# error You need to define 'Struct Alignment: 68k' for your project.
-# endif
-# endif /* !GENERATINGCFM */
-# define JNI_PUBLIC_API(ResultType) __declspec(export) ResultType
-# define JNI_PUBLIC_VAR(VarType) JNI_PUBLIC_API(VarType)
-# define JNI_NATIVE_STUB(ResultType) JNI_PUBLIC_API(ResultType)
-# elif defined(__SC__) /* Symantec */
+# if defined(__SC__) /* Symantec */
# error What are the Symantec defines? ([email protected])
# elif macintosh && applec /* MPW */
# error Please upgrade to the latest MPW compiler (SC).