From 39d0a27479a58549bc98b55a224d95fa5b09e971 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Sat, 10 Nov 2007 18:06:36 +0000 Subject: [PATCH] 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 --- Lex/Preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.50.1