mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +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 {
|
||||
const char* environ[] = { 0 };
|
||||
}
|
||||
#elif defined __APPLE__
|
||||
# include <crt_externs.h>
|
||||
# define environ (*_NSGetEnviron())
|
||||
#else
|
||||
extern char** environ;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user