summaryrefslogtreecommitdiffstats
path: root/llvm/win32
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-22 09:54:13 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-22 09:54:13 +0000
commit9e50bff47853d35e65f82cd4b62299a8b3d9e487 (patch)
treef17f43fe200eb33992033a3182ee545fde28c8eb /llvm/win32
parent685dcdc896db7720d5e973148493f65482edfdb3 (diff)
downloadbcm5719-llvm-9e50bff47853d35e65f82cd4b62299a8b3d9e487.tar.gz
bcm5719-llvm-9e50bff47853d35e65f82cd4b62299a8b3d9e487.zip
Unbreak LLVM on the MSVC compiler:
-Bring in int64_t for TableGen/Record.h and TableGen/TGLexer.h -Define strtoull llvm-svn: 57970
Diffstat (limited to 'llvm/win32')
-rw-r--r--llvm/win32/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/win32/config.h b/llvm/win32/config.h
index 1e57d1df5c4..90958169f24 100644
--- a/llvm/win32/config.h
+++ b/llvm/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
OpenPOWER on IntegriCloud