mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix OS X build regression
This commit is contained in:
parent
2b4407a962
commit
2fedfdea5b
@ -638,6 +638,9 @@ Java_java_lang_System_getProperty(JNIEnv* e, jclass, jstring name,
|
|||||||
namespace {
|
namespace {
|
||||||
const char* environ[] = { 0 };
|
const char* environ[] = { 0 };
|
||||||
}
|
}
|
||||||
|
#elif defined __APPLE__
|
||||||
|
# include <crt_externs.h>
|
||||||
|
# define environ (*_NSGetEnviron())
|
||||||
#else
|
#else
|
||||||
extern char** environ;
|
extern char** environ;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user