[cfe-commits] r43981 - /cfe/trunk/Lex/Preprocessor.cpp

Steve Naroff snaroff at apple.com
Sat Nov 10 10:06:36 PST 2007


Author: snaroff
Date: Sat Nov 10 12:06:36 2007
New Revision: 43981

URL: http://llvm.org/viewvc/llvm-project?rev=43981&view=rev
Log:

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).

Modified:
    cfe/trunk/Lex/Preprocessor.cpp

Modified: cfe/trunk/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/Preprocessor.cpp?rev=43981&r1=43980&r2=43981&view=diff

==============================================================================
--- cfe/trunk/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/Lex/Preprocessor.cpp Sat Nov 10 12:06:36 2007
@@ -382,7 +382,7 @@
   
   // 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");





More information about the cfe-commits mailing list