fix JNI_OnUnload definition

(cherry picked from the commit  3571e39071)

(cherry picked from commit 1019d8f0f2)
This commit is contained in:
Anton Tarasov
2018-12-04 18:10:14 +03:00
committed by alexey.ushakov@jetbrains.com
parent 99234f8c64
commit 2b9aa56366

View File

@@ -1984,7 +1984,8 @@ Java_sun_font_FreetypeFontScaler_getGlyphPointNative(
sunFontIDs.pt2DFloatCtr, x, y);
}
void JNI_OnUnload(JavaVM *vm, void *reserved) {
JNIEXPORT void JNICALL
JNI_OnUnload(JavaVM *vm, void *reserved) {
if (libFontConfig != NULL) {
#ifndef _WIN32
dlclose(libFontConfig);