Created
December 4, 2013 06:25
-
-
Save nikki93/7783220 to your computer and use it in GitHub Desktop.
had to do this to get Polycode to build on OS X 10.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Core/Contents/Include/PolyGlobals.h b/Core/Contents/Include/PolyGlobals.h | |
index 2a7aadc..58b81df 100755 | |
--- a/Core/Contents/Include/PolyGlobals.h | |
+++ b/Core/Contents/Include/PolyGlobals.h | |
@@ -46,6 +46,7 @@ THE SOFTWARE. | |
#endif | |
#include <stdint.h> | |
+#include <stdlib.h> | |
#ifndef NULL | |
#define NULL 0 | |
diff --git a/IDE/Build/Mac OS X/Polycode.xcodeproj/project.pbxproj b/IDE/Build/Mac OS X/Polycode.xcodeproj/project.pbxproj | |
index 7f5d3f0..b568d73 100644 | |
--- a/IDE/Build/Mac OS X/Polycode.xcodeproj/project.pbxproj | |
+++ b/IDE/Build/Mac OS X/Polycode.xcodeproj/project.pbxproj | |
@@ -371,6 +371,8 @@ | |
/* Begin PBXProject section */ | |
29B97313FDCFA39411CA2CEA /* Project object */ = { | |
isa = PBXProject; | |
+ attributes = { | |
+ }; | |
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Polycode" */; | |
compatibilityVersion = "Xcode 3.1"; | |
developmentRegion = English; | |
@@ -485,6 +487,7 @@ | |
isa = XCBuildConfiguration; | |
buildSettings = { | |
ALWAYS_SEARCH_USER_PATHS = NO; | |
+ ARCHS = "$(ARCHS_STANDARD)"; | |
COPY_PHASE_STRIP = NO; | |
GCC_DYNAMIC_NO_PIC = NO; | |
GCC_ENABLE_FIX_AND_CONTINUE = YES; | |
@@ -507,7 +510,7 @@ | |
"\"$(SRCROOT)/../../../Release/Darwin/Framework/Core/Dependencies/lib\"", | |
"\"$(SRCROOT)/../../../Release/Darwin/Framework/Modules/lib\"", | |
); | |
- MACOSX_DEPLOYMENT_TARGET = 10.6; | |
+ MACOSX_DEPLOYMENT_TARGET = 10.9; | |
PRODUCT_NAME = Polycode; | |
}; | |
name = Debug; | |
@@ -516,6 +519,7 @@ | |
isa = XCBuildConfiguration; | |
buildSettings = { | |
ALWAYS_SEARCH_USER_PATHS = NO; | |
+ ARCHS = "$(ARCHS_STANDARD)"; | |
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | |
GCC_MODEL_TUNING = G5; | |
GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
@@ -535,7 +539,7 @@ | |
"\"$(SRCROOT)/../../../Release/Darwin/Framework/Core/Dependencies/lib\"", | |
"\"$(SRCROOT)/../../../Release/Darwin/Framework/Modules/lib\"", | |
); | |
- MACOSX_DEPLOYMENT_TARGET = 10.6; | |
+ MACOSX_DEPLOYMENT_TARGET = 10.9; | |
PRODUCT_NAME = Polycode; | |
}; | |
name = Release; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment