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
This commit is contained in:
Argyrios Kyrtzidis 2008-10-22 09:54:13 +00:00
parent 3a67f50503
commit bb9d18c7d5
3 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,7 @@
#ifndef RECORD_H #ifndef RECORD_H
#define RECORD_H #define RECORD_H
#include "llvm/Support/DataTypes.h"
#include <string> #include <string>
#include <vector> #include <vector>
#include <map> #include <map>

View File

@ -14,6 +14,7 @@
#ifndef TGLEXER_H #ifndef TGLEXER_H
#define TGLEXER_H #define TGLEXER_H
#include "llvm/Support/DataTypes.h"
#include <vector> #include <vector>
#include <string> #include <string>
#include <iosfwd> #include <iosfwd>

View File

@ -2,7 +2,7 @@
* config.h */ * config.h */
#define PACKAGE_NAME "LLVM (win32 vc8.0)" #define PACKAGE_NAME "LLVM (win32 vc8.0)"
#define PACKAGE_VERSION 2.2 #define PACKAGE_VERSION 2.4
#define LLVM_HOSTTRIPLE "i686-pc-win32" #define LLVM_HOSTTRIPLE "i686-pc-win32"
#define HAVE_WINDOWS_H 1 #define HAVE_WINDOWS_H 1
#define HAVE_LIMITS_H 1 #define HAVE_LIMITS_H 1
@ -22,7 +22,8 @@
#define LTDL_SYSSEARCHPATH "" #define LTDL_SYSSEARCHPATH ""
#define LLVM_ON_WIN32 1 #define LLVM_ON_WIN32 1
#define strtoll strtol #define strtoll _strtoi64
#define strtoull _strtoui64
#define stricmp _stricmp #define stricmp _stricmp
#define strdup _strdup #define strdup _strdup