summaryrefslogtreecommitdiffstats
path: root/src/jri_md.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-30 22:36:39 +0900
committerMichele Calgaro <[email protected]>2024-12-31 23:43:47 +0900
commit69e69c0660e95a9c7c1173eb357cb062229cf087 (patch)
tree2a734873ff40afc8ee5f8cc37dcc66388109862d /src/jri_md.h
parent47be0b44db1cd1e546cbc53fa086774ba37de844 (diff)
downloadkaffeine-mozilla-69e69c0660e95a9c7c1173eb357cb062229cf087.tar.gz
kaffeine-mozilla-69e69c0660e95a9c7c1173eb357cb062229cf087.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 05ecb51ac3b81f9007298266b56508e63dcbb57d)
Diffstat (limited to 'src/jri_md.h')
-rw-r--r--src/jri_md.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/jri_md.h b/src/jri_md.h
index 9a399a3..3610b68 100644
--- a/src/jri_md.h
+++ b/src/jri_md.h
@@ -54,7 +54,7 @@ extern "C" {
* This is where we define the mystical JRI_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.
*
* On UNIX though you probably care about a couple of other symbols though:
@@ -114,21 +114,7 @@ extern "C" {
/* Mac */
#elif defined (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 JRI_PUBLIC_API(ResultType) __declspec(export) ResultType
-# define JRI_PUBLIC_VAR(VarType) JRI_PUBLIC_API(VarType)
-# define JRI_PUBLIC_VAR_EXP(VarType) JRI_PUBLIC_API(VarType)
-# define JRI_PUBLIC_VAR_IMP(VarType) JRI_PUBLIC_API(VarType)
-# define JRI_NATIVE_STUB(ResultType) JRI_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).