diff options
author | Chris Lattner <sabre@nondot.org> | 2008-09-30 00:46:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-09-30 00:46:39 +0000 |
commit | 006579ddb5f140f12f43a5891f54bba97b38fecc (patch) | |
tree | a982c74d6f4108065ee0a7486de79cdabc19d1aa /clang/lib/Lex/Preprocessor.cpp | |
parent | 506e717e4f20ab9f74feefa0e8ce19fdff9bec25 (diff) | |
download | bcm5719-llvm-006579ddb5f140f12f43a5891f54bba97b38fecc.tar.gz bcm5719-llvm-006579ddb5f140f12f43a5891f54bba97b38fecc.zip |
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is a darwin-specific #define
llvm-svn: 56822
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 691f46ac2d1..3f477c296c1 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -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"); |