diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2008-07-05 19:32:25 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2008-07-05 19:32:25 +0000 |
commit | 3da38fd14581e6b26bd825ed058d14e74950e38f (patch) | |
tree | 93c4e982104278dbfb16f9db878398692fdacfbe /clang/lib/Lex/Preprocessor.cpp | |
parent | c9c3f49993fd2dbe44c6f73e192aadccc1521a9d (diff) | |
download | bcm5719-llvm-3da38fd14581e6b26bd825ed058d14e74950e38f.tar.gz bcm5719-llvm-3da38fd14581e6b26bd825ed058d14e74950e38f.zip |
move the linux predefined macro definition to the TargetInfo, where it really belongs
llvm-svn: 53149
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 577e64a5cfe..32ee8f0c817 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -433,11 +433,6 @@ static void InitializePredefinedMacros(Preprocessor &PP, DefineBuiltinMacro(Buf, "__FINITE_MATH_ONLY__=0"); DefineBuiltinMacro(Buf, "__NO_INLINE__=1"); DefineBuiltinMacro(Buf, "__PIC__=1"); - -/* FIXME: this check should be moved to the configure process */ -#ifdef linux - DefineBuiltinMacro(Buf, "linux=1"); -#endif if (PP.getLangOptions().CPlusPlus) { |