comparison modules/javafx.graphics/src/main/native-font/MacFontFinder.c @ 11306:c91a28ed4845

8223760: support static builds Reviewed-by: kcr
author jvos
date Wed, 17 Jul 2019 22:22:20 +0200
parents 77bfbbf9a00c
children e21afe5aabed
comparison
equal deleted inserted replaced
2:1481834ebdcb 3:c14a38b373db
28 #include <TargetConditionals.h> 28 #include <TargetConditionals.h>
29 29
30 #include <jni.h> 30 #include <jni.h>
31 #include <com_sun_javafx_font_MacFontFinder.h> 31 #include <com_sun_javafx_font_MacFontFinder.h>
32 32
33 #if TARGET_OS_IPHONE /* iOS */ 33 #if TARGET_OS_IPHONE || defined(STATIC_BUILD) /* iOS or static build */
34 34
35 #import <CoreText/CoreText.h> 35 #import <CoreText/CoreText.h>
36 36
37 JNIEXPORT jint JNICALL 37 JNIEXPORT jint JNICALL
38 JNI_OnLoad_javafx_font(JavaVM * vm, void * reserved) { 38 JNI_OnLoad_javafx_font(JavaVM * vm, void * reserved) {