__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is a darwin-specific #define

llvm-svn: 56822
This commit is contained in:
Chris Lattner
2008-09-30 00:46:39 +00:00
parent 506e717e4f
commit 006579ddb5
3 changed files with 5 additions and 4 deletions

View File

@@ -428,8 +428,8 @@ static void InitializePredefinedMacros(Preprocessor &PP,
DefineBuiltinMacro(Buf, "__clang__=1"); // Clang Frontend
// Compiler set macros.
// Claim to be GCC 4.2.1-5621
DefineBuiltinMacro(Buf, "__APPLE_CC__=5621");
DefineBuiltinMacro(Buf, "__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1050");
DefineBuiltinMacro(Buf, "__GNUC_MINOR__=2");
DefineBuiltinMacro(Buf, "__GNUC_PATCHLEVEL__=1");
DefineBuiltinMacro(Buf, "__GNUC__=4");