aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArgiris Kirtzidis <akyrtzi@gmail.com>2008-10-22 09:54:13 +0000
committerArgiris Kirtzidis <akyrtzi@gmail.com>2008-10-22 09:54:13 +0000
commit9fe5816b352c7eb9562d925102ae9386d5ba6d7b (patch)
tree60825397f740e2519a707e69a26a2ccc67763fcc
parenta036a5a3a38c9056148839724e5178fc57e52c07 (diff)
downloadexternal_llvm-9fe5816b352c7eb9562d925102ae9386d5ba6d7b.zip
external_llvm-9fe5816b352c7eb9562d925102ae9386d5ba6d7b.tar.gz
external_llvm-9fe5816b352c7eb9562d925102ae9386d5ba6d7b.tar.bz2
Unbreak LLVM on the MSVC compiler:
-Bring in int64_t for TableGen/Record.h and TableGen/TGLexer.h -Define strtoull git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57970 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/Record.h1
-rw-r--r--utils/TableGen/TGLexer.h1
-rw-r--r--win32/config.h5
3 files changed, 5 insertions, 2 deletions
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h
index 928fd5c..87a49ee 100644
--- a/utils/TableGen/Record.h
+++ b/utils/TableGen/Record.h
@@ -15,6 +15,7 @@
#ifndef RECORD_H
#define RECORD_H
+#include "llvm/Support/DataTypes.h"
#include <string>
#include <vector>
#include <map>
diff --git a/utils/TableGen/TGLexer.h b/utils/TableGen/TGLexer.h
index 2c5a852..0e67f68 100644
--- a/utils/TableGen/TGLexer.h
+++ b/utils/TableGen/TGLexer.h
@@ -14,6 +14,7 @@
#ifndef TGLEXER_H
#define TGLEXER_H
+#include "llvm/Support/DataTypes.h"
#include <vector>
#include <string>
#include <iosfwd>
diff --git a/win32/config.h b/win32/config.h
index 1e57d1d..9095816 100644
--- a/win32/config.h
+++ b/win32/config.h
@@ -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