diff options
| author | Manolo Gouy <Manolo> | 2011-01-28 18:10:39 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-28 18:10:39 +0000 |
| commit | 8181b42f88fbc348eba174de2972cc153b109110 (patch) | |
| tree | 016463ec2b9e10d61002327bddb806f9e57b4cbd | |
| parent | 5e504783801063d39151d65cd122049311e802a9 (diff) | |
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
| -rw-r--r-- | src/fl_font_mac.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
