From 8181b42f88fbc348eba174de2972cc153b109110 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 28 Jan 2011 18:10:39 +0000 Subject: Removed compilation warning for pre-10.5 Mac OS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_font_mac.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx index f9fd8876d..137f0a715 100644 --- a/src/fl_font_mac.cxx +++ b/src/fl_font_mac.cxx @@ -34,7 +34,9 @@ extern unsigned fl_utf8toUtf16(const char* src, unsigned srclen, unsigned short* #define check_default_font() {if (!fl_fontsize) fl_font(0, 12);} static CGAffineTransform font_mx = { 1, 0, 0, -1, 0, 0 }; +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 static CFMutableDictionaryRef attributes = NULL; +#endif Fl_Font_Descriptor::Fl_Font_Descriptor(const char* name, Fl_Fontsize Size) { next = 0; -- cgit v1.2.3