Use NS_EXPORT on Linux to ensure gcc visibility gets set on JNI functions.

git-svn-id: svn://10.0.0.236/trunk@167952 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2005-01-18 22:53:50 +00:00
parent a1d68cbf17
commit 0a76e21100
2 changed files with 34 additions and 28 deletions

View File

@@ -50,6 +50,12 @@
#define LOG(x) /* nothing */
#endif
#if defined(XP_WIN) || defined(XP_MAC)
#define JX_EXPORT JNIEXPORT
#else
#define JX_EXPORT JNIEXPORT NS_EXPORT
#endif
/*********************
* Java JNI globals