From 73a7cab9e10d4f0011fa0b91fbc791104b75d5a4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 24 Mar 2009 16:09:18 +0000 Subject: [PATCH] change the __VERSION__ string to be more sensible. It would be useful to include the clang version # too. llvm-svn: 67619 --- clang/lib/Lex/Preprocessor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 811ea69760ad..a43bb6427e90 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -471,8 +471,7 @@ static void InitializePredefinedMacros(Preprocessor &PP, DefineBuiltinMacro(Buf, "__GNUC_PATCHLEVEL__=1"); DefineBuiltinMacro(Buf, "__GNUC__=4"); DefineBuiltinMacro(Buf, "__GXX_ABI_VERSION=1002"); - DefineBuiltinMacro(Buf, "__VERSION__=\"4.2.1 (Apple Computer, Inc. " - "build 5621) (dot 3)\""); + DefineBuiltinMacro(Buf, "__VERSION__=\"4.2.1 Compatible Clang Compiler\""); // Initialize language-specific preprocessor defines.