summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-26 19:05:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-31 17:15:30 +0900
commit47be0b44db1cd1e546cbc53fa086774ba37de844 (patch)
tree45f97fd9c2c27ac69faec8ff5f7471480a3fc4c9
parentd0c344053c345d1cac3005484be71773e08a1675 (diff)
downloadkaffeine-mozilla-47be0b44db1cd1e546cbc53fa086774ba37de844.tar.gz
kaffeine-mozilla-47be0b44db1cd1e546cbc53fa086774ba37de844.zip
Drop Borland compiler specific coder14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit eb663307fceadd0a7d6acecb39e220367a9a92e0)
-rw-r--r--src/jni_md.h14
-rw-r--r--src/jri_md.h18
2 files changed, 2 insertions, 30 deletions
diff --git a/src/jni_md.h b/src/jni_md.h
index febeff1..6d655bf 100644
--- a/src/jni_md.h
+++ b/src/jni_md.h
@@ -46,7 +46,7 @@
* WHAT'S UP WITH THIS FILE?
*
* This is where we define the mystical JNI_PUBLIC_API macro that works on all
- * platforms. If you're running with Visual C++, Symantec C, or Borland's
+ * 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
* matter.
@@ -115,18 +115,6 @@
# define JNICALL __export
# endif /* !WINDLL */
# endif /* !_WIN32 */
-# elif defined(__BORLANDC__)
-# if defined(WIN32) || defined(_WIN32)
-# define JNI_PUBLIC_API(ResultType) __export ResultType
-# define JNI_PUBLIC_VAR(VarType) VarType
-# define JNI_NATIVE_STUB(ResultType) __export ResultType
-# define JNICALL
-# else /* !_WIN32 */
-# define JNI_PUBLIC_API(ResultType) ResultType _cdecl _export _loadds
-# define JNI_PUBLIC_VAR(VarType) VarType
-# define JNI_NATIVE_STUB(ResultType) ResultType _cdecl _loadds
-# define JNICALL _loadds
-# endif
# else
# error Unsupported PC development environment.
# endif
diff --git a/src/jri_md.h b/src/jri_md.h
index 9cffa8c..9a399a3 100644
--- a/src/jri_md.h
+++ b/src/jri_md.h
@@ -52,7 +52,7 @@ extern "C" {
* WHAT'S UP WITH THIS FILE?
*
* This is where we define the mystical JRI_PUBLIC_API macro that works on all
- * platforms. If you're running with Visual C++, Symantec C, or Borland's
+ * 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
* matter.
@@ -105,22 +105,6 @@ extern "C" {
# define JRI_CALLBACK __export
# endif /* !WINDLL */
# endif /* !_WIN32 */
-# elif defined(__BORLANDC__)
-# if defined(WIN32) || defined(_WIN32)
-# define JRI_PUBLIC_API(ResultType) __export ResultType
-# define JRI_PUBLIC_VAR(VarType) VarType
-# define JRI_PUBLIC_VAR_EXP(VarType) __export VarType
-# define JRI_PUBLIC_VAR_IMP(VarType) __import VarType
-# define JRI_NATIVE_STUB(ResultType) __export ResultType
-# define JRI_CALLBACK
-# else /* !_WIN32 */
-# define JRI_PUBLIC_API(ResultType) ResultType _cdecl _export _loadds
-# define JRI_PUBLIC_VAR(VarType) VarType
-# define JRI_PUBLIC_VAR_EXP(VarType) __cdecl __export VarType
-# define JRI_PUBLIC_VAR_IMP(VarType) __cdecl __import VarType
-# define JRI_NATIVE_STUB(ResultType) ResultType _cdecl _loadds
-# define JRI_CALLBACK _loadds
-# endif
# else
# error Unsupported PC development environment.
# endif