8043646: libosxapp.dylib fails to build on Mac OS 10.9 with clang
Reviewed-by: anthony, serb
This commit is contained in:
parent
ae470d1970
commit
1d4a340a2b
@ -36,7 +36,7 @@ static JNIEnv *appKitEnv = NULL;
|
||||
static jobject appkitThreadGroup = NULL;
|
||||
static BOOL awtEmbedded = NO;
|
||||
|
||||
inline void attachCurrentThread(void** env) {
|
||||
static inline void attachCurrentThread(void** env) {
|
||||
if ([NSThread isMainThread]) {
|
||||
JavaVMAttachArgs args;
|
||||
args.version = JNI_VERSION_1_4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user