summaryrefslogtreecommitdiffstats
path: root/clang/Lex
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-11-10 18:06:36 +0000
committerSteve Naroff <snaroff@apple.com>2007-11-10 18:06:36 +0000
commit68754c59bc864f0439fd967cc766833ad01d8bd5 (patch)
tree3dd5d9201b6444147d610d44fafb738bd40e476a /clang/Lex
parent6aafd4130b473800942c46ba2033030b5303b3d1 (diff)
downloadbcm5719-llvm-68754c59bc864f0439fd967cc766833ad01d8bd5.tar.gz
bcm5719-llvm-68754c59bc864f0439fd967cc766833ad01d8bd5.zip
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).
llvm-svn: 43981
Diffstat (limited to 'clang/Lex')
-rw-r--r--clang/Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp
index 0d3ac521d05..718b47693ae 100644
--- a/clang/Lex/Preprocessor.cpp
+++ b/clang/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");
OpenPOWER on IntegriCloud