__APPLE_CC__ should only be set when building for darwin targets.

llvm-svn: 73934
This commit is contained in:
Chris Lattner
2009-06-23 00:43:21 +00:00
parent c035bf688a
commit 2fe5b26414
2 changed files with 1 additions and 1 deletions

View File

@@ -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");