summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-20 08:51:33 +0300
committerTor Lillqvist <tml@iki.fi>2012-09-20 08:51:33 +0300
commit6a8694d91e051412108601806cc5325b0641b5f2 (patch)
treed770b27ce2086fba1db4832d0eefe24cdc03d4b6
parent083fa89dd8f894f9cd0ef217a900fab777db9f2a (diff)
Add typedefs not in the 10.4 SDK
Change-Id: I67f6c5392feda674b3d7d53b5dd20ec86e4f9023
-rw-r--r--solenv/inc/premac.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/inc/premac.h b/solenv/inc/premac.h
index b5fff62f805d..5dc085c3153c 100644
--- a/solenv/inc/premac.h
+++ b/solenv/inc/premac.h
@@ -56,4 +56,10 @@ typedef int NSColorRenderingIntent;
#endif
#endif
+#if MACOSX_SDK_VERSION < 1050
+typedef float CGFloat;
+typedef int NSInteger;
+typedef unsigned NSUInteger;
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */