[llvm-commits] [llvm] r57970 - in /llvm/trunk: utils/TableGen/Record.h utils/TableGen/TGLexer.h win32/config.h

Argiris Kirtzidis akyrtzi at gmail.com
Wed Oct 22 02:54:13 PDT 2008


Author: akirtzidis
Date: Wed Oct 22 04:54:13 2008
New Revision: 57970

URL: http://llvm.org/viewvc/llvm-project?rev=57970&view=rev
Log:
Unbreak LLVM on the MSVC compiler:

-Bring in int64_t for TableGen/Record.h and TableGen/TGLexer.h
-Define strtoull

Modified:
    llvm/trunk/utils/TableGen/Record.h
    llvm/trunk/utils/TableGen/TGLexer.h
    llvm/trunk/win32/config.h

Modified: llvm/trunk/utils/TableGen/Record.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/Record.h?rev=57970&r1=57969&r2=57970&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/Record.h (original)
+++ llvm/trunk/utils/TableGen/Record.h Wed Oct 22 04:54:13 2008
@@ -15,6 +15,7 @@
 #ifndef RECORD_H
 #define RECORD_H
 
+#include "llvm/Support/DataTypes.h"
 #include <string>
 #include <vector>
 #include <map>

Modified: llvm/trunk/utils/TableGen/TGLexer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TGLexer.h?rev=57970&r1=57969&r2=57970&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/TGLexer.h (original)
+++ llvm/trunk/utils/TableGen/TGLexer.h Wed Oct 22 04:54:13 2008
@@ -14,6 +14,7 @@
 #ifndef TGLEXER_H
 #define TGLEXER_H
 
+#include "llvm/Support/DataTypes.h"
 #include <vector>
 #include <string>
 #include <iosfwd>

Modified: llvm/trunk/win32/config.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/win32/config.h?rev=57970&r1=57969&r2=57970&view=diff

==============================================================================
--- llvm/trunk/win32/config.h (original)
+++ llvm/trunk/win32/config.h Wed Oct 22 04:54:13 2008
@@ -2,7 +2,7 @@
  * config.h */
 
 #define PACKAGE_NAME "LLVM (win32 vc8.0)" 
-#define PACKAGE_VERSION 2.2
+#define PACKAGE_VERSION 2.4
 #define LLVM_HOSTTRIPLE "i686-pc-win32"
 #define HAVE_WINDOWS_H 1 
 #define HAVE_LIMITS_H 1 
@@ -22,7 +22,8 @@
 #define LTDL_SYSSEARCHPATH "" 
 #define LLVM_ON_WIN32 1 
 
-#define strtoll strtol
+#define strtoll _strtoi64
+#define strtoull _strtoui64
 #define stricmp _stricmp
 #define strdup _strdup
 





More information about the llvm-commits mailing list