Author: manolo
Date: 2011-01-28 10:10:39 -0800 (Fri, 28 Jan 2011)
New Revision: 8326
Log:
Removed compilation warning for pre-10.5 Mac OS.
Modified:
branches/branch-1.3/src/fl_font_mac.cxx
Modified: branches/branch-1.3/src/fl_font_mac.cxx
===================================================================
--- branches/branch-1.3/src/fl_font_mac.cxx 2011-01-28 17:38:07 UTC (rev
8325)
+++ branches/branch-1.3/src/fl_font_mac.cxx 2011-01-28 18:10:39 UTC (rev
8326)
@@ -34,7 +34,9 @@
#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;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit