aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Ushakov <Alexey.Ushakov@jetbrains.com>2018-03-13 14:41:05 +0300
committerAlexey Ushakov <Alexey.Ushakov@jetbrains.com>2018-03-13 14:41:05 +0300
commitcb76ebdd51f7ee3cc6133e199bb7e479d863c08b (patch)
tree7b3f15b9dd5d4a1f52fdb3ba7f054af3b94ef034
parent9cc1ce5d2f25892e8ccd9c22a0252e21e8fd2f02 (diff)
downloadjdk8u_jdk-cb76ebdd51f7ee3cc6133e199bb7e479d863c08b.tar.gz
JRE-686 OGL Glyph cache is too small for IDEA editorjb8u152-b1194.1jb8u152-b1194
Fixed linking issue
-rw-r--r--src/windows/native/sun/windows/awt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/native/sun/windows/awt.h b/src/windows/native/sun/windows/awt.h
index 1b8bd5237d..ba6486f9c0 100644
--- a/src/windows/native/sun/windows/awt.h
+++ b/src/windows/native/sun/windows/awt.h
@@ -198,7 +198,7 @@ typedef AwtObject* PDATA;
#define LO_INT(l) ((int)(short)(l))
#define HI_INT(l) ((int)(short)(((DWORD)(l) >> 16) & 0xFFFF))
-extern JavaVM *jvm;
+extern "C" JavaVM *jvm;
// Platform encoding is Unicode (UTF-16), re-define JNU_ functions
// to proper JNI functions.