mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
fix iOS build regression
This commit is contained in:
parent
6323c76540
commit
2b4407a962
@ -634,7 +634,13 @@ Java_java_lang_System_getProperty(JNIEnv* e, jclass, jstring name,
|
||||
// System.getEnvironment() implementation
|
||||
// TODO: For Win32, replace usage of deprecated _environ and add Unicode
|
||||
// support (neither of which is likely to be of great importance).
|
||||
#ifdef AVIAN_IOS
|
||||
namespace {
|
||||
const char* environ[] = { 0 };
|
||||
}
|
||||
#else
|
||||
extern char** environ;
|
||||
#endif
|
||||
extern "C" JNIEXPORT jobjectArray JNICALL
|
||||
Java_java_lang_System_getEnvironment(JNIEnv* env, jclass) {
|
||||
int length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user