mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 13:15:07 +00:00
Fix building in compilers without __int64
svn path=/branches/ros-amd64-bringup/; revision=45115
This commit is contained in:
parent
66062a3d7f
commit
adc81bcec9
|
@ -4,7 +4,13 @@
|
||||||
|
|
||||||
//C_ASSERT(sizeof(ULONG) == 4);
|
//C_ASSERT(sizeof(ULONG) == 4);
|
||||||
typedef unsigned char UBYTE;
|
typedef unsigned char UBYTE;
|
||||||
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
typedef unsigned __int64 ULONG64;
|
typedef unsigned __int64 ULONG64;
|
||||||
|
#else
|
||||||
|
#include <stdint.h>
|
||||||
|
typedef uint64_t ULONG64;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define IMAGE_FILE_MACHINE_AMD64 0x8664
|
#define IMAGE_FILE_MACHINE_AMD64 0x8664
|
||||||
#define IMAGE_DIRECTORY_ENTRY_IMPORT 1
|
#define IMAGE_DIRECTORY_ENTRY_IMPORT 1
|
||||||
|
|
Loading…
Reference in a new issue