Fix building in compilers without __int64

svn path=/branches/ros-amd64-bringup/; revision=45115
This commit is contained in:
Samuel Serapion 2010-01-17 07:31:35 +00:00
parent 66062a3d7f
commit adc81bcec9

View file

@ -4,7 +4,13 @@
//C_ASSERT(sizeof(ULONG) == 4);
typedef unsigned char UBYTE;
#if defined(_MSC_VER) || defined(__MINGW32__)
typedef unsigned __int64 ULONG64;
#else
#include <stdint.h>
typedef uint64_t ULONG64;
#endif
#define IMAGE_FILE_MACHINE_AMD64 0x8664
#define IMAGE_DIRECTORY_ENTRY_IMPORT 1