зеркало из https://github.com/mozilla/pjs.git
Use NS_EXPORT on Linux to ensure gcc visibility gets set on JNI functions.
Original committer: pedemont%us.ibm.com Original revision: 1.18 Original date: 2005/01/18 22:53:50
This commit is contained in:
Родитель
dd1efb2b36
Коммит
261505ead3
|
@ -50,6 +50,12 @@
|
||||||
#define LOG(x) /* nothing */
|
#define LOG(x) /* nothing */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(XP_WIN) || defined(XP_MAC)
|
||||||
|
#define JX_EXPORT JNIEXPORT
|
||||||
|
#else
|
||||||
|
#define JX_EXPORT JNIEXPORT NS_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* Java JNI globals
|
* Java JNI globals
|
||||||
|
|
Загрузка…
Ссылка в новой задаче