mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 16:39:08 +00:00
- unix is one of many platforms that use LP64, so instead of defining every single possible OS which uses LP64, how about we define the *only* OS that uses LLP64: Win64.
- Fixes building on BSD and Solaris. svn path=/trunk/; revision=43474
This commit is contained in:
parent
d2b61cb87e
commit
649c4322fc
|
@ -45,7 +45,7 @@ typedef unsigned char UCHAR;
|
||||||
typedef unsigned short WORD;
|
typedef unsigned short WORD;
|
||||||
typedef unsigned short USHORT;
|
typedef unsigned short USHORT;
|
||||||
typedef unsigned long long ULONGLONG;
|
typedef unsigned long long ULONGLONG;
|
||||||
#if defined(__x86_64__) && defined(unix)
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
typedef signed int LONG;
|
typedef signed int LONG;
|
||||||
typedef unsigned int ULONG;
|
typedef unsigned int ULONG;
|
||||||
typedef unsigned int DWORD;
|
typedef unsigned int DWORD;
|
||||||
|
@ -57,7 +57,7 @@ typedef unsigned long DWORD;
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
typedef unsigned __int64 ULONG_PTR;
|
typedef unsigned __int64 ULONG_PTR;
|
||||||
#else
|
#else
|
||||||
#if defined(__x86_64__) && defined(unix)
|
#if defined(__x86_64__) && !defined(_WIN64)
|
||||||
typedef unsigned int ULONG_PTR;
|
typedef unsigned int ULONG_PTR;
|
||||||
#else
|
#else
|
||||||
typedef unsigned long ULONG_PTR;
|
typedef unsigned long ULONG_PTR;
|
||||||
|
|
Loading…
Reference in a new issue