summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-04-16 13:06:31 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-04-16 13:06:31 +0000
commit447e33c60701df4932d1a784e8751b6cd068de65 (patch)
treef15e194ef83167fabc5f9e9bdf45d463ab1b1345 /src
parent26aabc91e1b2e7417272e91df4c8a0867eb6bbba (diff)
Getting rid of warning in Xcode 9.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H
index bf53877ff..034812d7c 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H
@@ -30,8 +30,14 @@
#include <ApplicationServices/ApplicationServices.h>
// condition for the ATSU API to be available at compile time
-#define HAS_ATSU ((!defined(__LP64__) || !__LP64__) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11 && \
- MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
+#if ( (!defined(__LP64__) || !__LP64__) \
+ && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11 \
+ && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 \
+ )
+#define HAS_ATSU 1
+#else
+#define HAS_ATSU 0
+#endif
struct Fl_Fontdesc;
class Fl_Quartz_Font_Descriptor;