change the __VERSION__ string to be more sensible. It would be useful to include the clang version # too.

llvm-svn: 67619
This commit is contained in:
Chris Lattner 2009-03-24 16:09:18 +00:00
parent c35847e109
commit 73a7cab9e1

View File

@ -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.