diff options
| author | Argiris Kirtzidis <akyrtzi@gmail.com> | 2008-10-22 09:54:13 +0000 |
|---|---|---|
| committer | Argiris Kirtzidis <akyrtzi@gmail.com> | 2008-10-22 09:54:13 +0000 |
| commit | 9fe5816b352c7eb9562d925102ae9386d5ba6d7b (patch) | |
| tree | 60825397f740e2519a707e69a26a2ccc67763fcc /win32 | |
| parent | a036a5a3a38c9056148839724e5178fc57e52c07 (diff) | |
| download | external_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
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
