summaryrefslogtreecommitdiff
path: root/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-19 23:53:10 -0400
committerPietro Gagliardi <[email protected]>2014-05-19 23:53:10 -0400
commit5f5f4f6c2adde30e1f15ff46b209c7e4312630f8 (patch)
tree34e4868503033459c8bb55698dfd517f4c7cd98d /objc_darwin.h
parent946e007e5d19001ec643ee8d5cbda9b7e1b1b58b (diff)
Set up the Mac OS X build to always target Mac OS X 10.6 regardless of the host system; this is what we want and by default building on 10.8 produces binaries which won't run on 10.6. This isn't working yet, though: one enum in NSApplication.h becomes empty on 10.6...
Diffstat (limited to 'objc_darwin.h')
-rw-r--r--objc_darwin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/objc_darwin.h b/objc_darwin.h
index 9bff48f..4b084ee 100644
--- a/objc_darwin.h
+++ b/objc_darwin.h
@@ -5,6 +5,9 @@
#ifndef __GO_UI_OBJC_DARWIN_H__
#define __GO_UI_OBJC_DARWIN_H__
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
+#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_6
+
/* the Objective-C runtime headers, for id */
#include <objc/message.h>
#include <objc/objc.h>