mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2026-01-09 01:51:42 +01:00
fix JNI_OnUnload definition
(cherry picked from the commit3571e39071) (cherry picked from commit1019d8f0f2) (cherry picked from commit4fae6cb785)
This commit is contained in:
@@ -2029,7 +2029,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);
|
||||
|
||||
Reference in New Issue
Block a user