diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-23 00:43:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-23 00:43:21 +0000 |
commit | 7478bbfea8ec19962ba8e47d0b8b4de15f5a5943 (patch) | |
tree | ef097b82e5d49247f6bf073283851cb5b52d6342 /lib/Frontend | |
parent | 6cd4d8795b8058d289d92c0698c0012cd313fa5c (diff) |
__APPLE_CC__ should only be set when building for darwin targets.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend')
-rw-r--r-- | lib/Frontend/InitPreprocessor.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index 41908ad00e..730414e448 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -232,7 +232,6 @@ static void InitializePredefinedMacros(const TargetInfo &TI, DefineBuiltinMacro(Buf, "__clang__=1"); // Clang Frontend // Currently claim to be compatible with GCC 4.2.1-5621. - DefineBuiltinMacro(Buf, "__APPLE_CC__=5621"); DefineBuiltinMacro(Buf, "__GNUC_MINOR__=2"); DefineBuiltinMacro(Buf, "__GNUC_PATCHLEVEL__=1"); DefineBuiltinMacro(Buf, "__GNUC__=4"); |