mirror of
https://github.com/corda/corda.git
synced 2025-06-19 07:38:22 +00:00
Fixed typo for Mac OS X builds
This commit is contained in:
@ -5,8 +5,12 @@
|
|||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
# define JNIEXPORT __declspec(dllexport)
|
# define JNIEXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
|
#ifdef __APPLE__
|
||||||
|
# define JNIEXPORT __attribute__ ((used))
|
||||||
|
#else
|
||||||
# define JNIEXPORT __attribute__ ((visibility("default")))
|
# define JNIEXPORT __attribute__ ((visibility("default")))
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# define JNIEXPORT __declspec(dllexport)
|
# define JNIEXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# define JNIEXPORT __attribute__ ((visibility("used")))
|
# define JNIEXPORT __attribute__ ((used))
|
||||||
#else
|
#else
|
||||||
# define JNIEXPORT __attribute__ ((visibility("default")))
|
# define JNIEXPORT __attribute__ ((visibility("default")))
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user