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 | 551d5e9811c0e68496bb2842163c6d99138d6ef9 (patch) | |
tree | 357b2589403a921e3087bf98aa8b908e07465ba0 /lib/Lex/Preprocessor.cpp | |
parent | e8825aa06c88818c9e35b3411601540ea1ae9d4a (diff) |
move the linux predefined macro definition to the TargetInfo, where it really belongs
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 577e64a5cf..32ee8f0c81 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/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) { |