open Udiff src/java.desktop/unix/native/common/awt/awt_Font.c (original) (raw)
@@ -47,10 +47,11 @@ struct FontIDs fontIDs; struct PlatformFontIDs platformFontIDs;
static void pDataDisposeMethod(JNIEnv *env, jlong pData);
+#define FONT_DEBUG 0 //explicitly define to avoid compiler error. /* #define FONT_DEBUG 2 / / 1- print failures, 2- print all, 3- terminate on failure */ #if FONT_DEBUG static XFontStruct *XLoadQueryFontX(Display *display, char *name) {