diff options
author | Steve Naroff <snaroff@apple.com> | 2007-11-10 18:06:36 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-11-10 18:06:36 +0000 |
commit | 39d0a27479a58549bc98b55a224d95fa5b09e971 (patch) | |
tree | 1dd8dea4c53f7e57c081e1796145c75a07076e04 | |
parent | 439d28c1be7abc962afeb6a30f621b7b3b8bb13f (diff) |
Since we are all working on Leopard, change the built-in MacOS X version number (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) to target Leopard. This is only a short term solution, until the clang driver implements the "-mmacosx-version-min" flag (which will compute this value based on the target).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43981 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lex/Preprocessor.cpp b/Lex/Preprocessor.cpp index 0d3ac521d0..718b47693a 100644 --- a/Lex/Preprocessor.cpp +++ b/Lex/Preprocessor.cpp @@ -382,7 +382,7 @@ static void InitializePredefinedMacros(Preprocessor &PP, // Compiler set macros. DefineBuiltinMacro(Buf, "__APPLE_CC__=5250"); - DefineBuiltinMacro(Buf, "__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1030"); + DefineBuiltinMacro(Buf, "__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1050"); DefineBuiltinMacro(Buf, "__GNUC_MINOR__=0"); DefineBuiltinMacro(Buf, "__GNUC_PATCHLEVEL__=1"); DefineBuiltinMacro(Buf, "__GNUC__=4"); |