include: Introduce WINE_USE_LONG macro.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
35a7ed0c78
commit
0a09fdfa1f
|
@ -30,7 +30,7 @@ typedef struct
|
||||||
#else
|
#else
|
||||||
typedef struct _GUID
|
typedef struct _GUID
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef WINE_USE_LONG
|
||||||
unsigned long Data1;
|
unsigned long Data1;
|
||||||
#else
|
#else
|
||||||
unsigned int Data1;
|
unsigned int Data1;
|
||||||
|
|
|
@ -53,7 +53,7 @@ typedef enum _WAIT_TYPE {
|
||||||
#define BASETYPES
|
#define BASETYPES
|
||||||
typedef unsigned char UCHAR, *PUCHAR;
|
typedef unsigned char UCHAR, *PUCHAR;
|
||||||
typedef unsigned short USHORT, *PUSHORT;
|
typedef unsigned short USHORT, *PUSHORT;
|
||||||
#ifdef _MSC_VER
|
#ifdef WINE_USE_LONG
|
||||||
typedef unsigned long ULONG, *PULONG;
|
typedef unsigned long ULONG, *PULONG;
|
||||||
#else
|
#else
|
||||||
typedef unsigned int ULONG, *PULONG;
|
typedef unsigned int ULONG, *PULONG;
|
||||||
|
|
|
@ -241,7 +241,7 @@ extern "C" {
|
||||||
#define BASETYPES
|
#define BASETYPES
|
||||||
typedef unsigned char UCHAR, *PUCHAR;
|
typedef unsigned char UCHAR, *PUCHAR;
|
||||||
typedef unsigned short USHORT, *PUSHORT;
|
typedef unsigned short USHORT, *PUSHORT;
|
||||||
#ifdef _MSC_VER
|
#ifdef WINE_USE_LONG
|
||||||
typedef unsigned long ULONG, *PULONG;
|
typedef unsigned long ULONG, *PULONG;
|
||||||
#else
|
#else
|
||||||
typedef unsigned int ULONG, *PULONG;
|
typedef unsigned int ULONG, *PULONG;
|
||||||
|
@ -257,7 +257,7 @@ typedef int INT, *PINT, *LPINT;
|
||||||
typedef unsigned int UINT, *PUINT;
|
typedef unsigned int UINT, *PUINT;
|
||||||
typedef float FLOAT, *PFLOAT;
|
typedef float FLOAT, *PFLOAT;
|
||||||
typedef char *PSZ;
|
typedef char *PSZ;
|
||||||
#ifdef _MSC_VER
|
#ifdef WINE_USE_LONG
|
||||||
typedef long *LPLONG;
|
typedef long *LPLONG;
|
||||||
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
|
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -452,7 +452,7 @@ typedef VOID *PVOID64;
|
||||||
typedef BYTE BOOLEAN, *PBOOLEAN;
|
typedef BYTE BOOLEAN, *PBOOLEAN;
|
||||||
typedef char CHAR, *PCHAR;
|
typedef char CHAR, *PCHAR;
|
||||||
typedef short SHORT, *PSHORT;
|
typedef short SHORT, *PSHORT;
|
||||||
#ifdef _MSC_VER
|
#ifdef WINE_USE_LONG
|
||||||
typedef long LONG, *PLONG;
|
typedef long LONG, *PLONG;
|
||||||
#else
|
#else
|
||||||
typedef int LONG, *PLONG;
|
typedef int LONG, *PLONG;
|
||||||
|
|
Loading…
Reference in New Issue