зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
d0a256b2ed
Коммит
1a9305678d
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче