summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/inc/premac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/inc/premac.h b/solenv/inc/premac.h
index 5dc085c3153c..f4993f99e46a 100644
--- a/solenv/inc/premac.h
+++ b/solenv/inc/premac.h
@@ -56,7 +56,7 @@ typedef int NSColorRenderingIntent;
#endif
#endif
-#if MACOSX_SDK_VERSION < 1050
+#if defined(MACOSX_SDK_VERSION) && MACOSX_SDK_VERSION < 1050
typedef float CGFloat;
typedef int NSInteger;
typedef unsigned NSUInteger;