[cfe-commits] r46935 - /cfe/trunk/Lex/Preprocessor.cpp

Chris Lattner sabre at nondot.org
Sun Feb 10 13:12:45 PST 2008


Author: lattner
Date: Sun Feb 10 15:12:45 2008
New Revision: 46935

URL: http://llvm.org/viewvc/llvm-project?rev=46935&view=rev
Log:
long is 32-bit is on win32.

Modified:
    cfe/trunk/Lex/Preprocessor.cpp

Modified: cfe/trunk/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/Preprocessor.cpp?rev=46935&r1=46934&r2=46935&view=diff

==============================================================================
--- cfe/trunk/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/Lex/Preprocessor.cpp Sun Feb 10 15:12:45 2008
@@ -434,7 +434,7 @@
     DefineBuiltinMacro(Buf, "__int8=char");
     DefineBuiltinMacro(Buf, "__int16=short");
     DefineBuiltinMacro(Buf, "__int32=int");
-    DefineBuiltinMacro(Buf, "__int64=long");
+    DefineBuiltinMacro(Buf, "__int64=long long");
   }
   // FIXME: Should emit a #line directive here.
 }





More information about the cfe-commits mailing list