Commit 0a09fdfa authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Introduce WINE_USE_LONG macro.

parent 35a7ed0c
......@@ -30,7 +30,7 @@ typedef struct
#else
typedef struct _GUID
{
#ifdef _MSC_VER
#ifdef WINE_USE_LONG
unsigned long Data1;
#else
unsigned int Data1;
......
......@@ -53,7 +53,7 @@ typedef enum _WAIT_TYPE {
#define BASETYPES
typedef unsigned char UCHAR, *PUCHAR;
typedef unsigned short USHORT, *PUSHORT;
#ifdef _MSC_VER
#ifdef WINE_USE_LONG
typedef unsigned long ULONG, *PULONG;
#else
typedef unsigned int ULONG, *PULONG;
......
......@@ -241,7 +241,7 @@ extern "C" {
#define BASETYPES
typedef unsigned char UCHAR, *PUCHAR;
typedef unsigned short USHORT, *PUSHORT;
#ifdef _MSC_VER
#ifdef WINE_USE_LONG
typedef unsigned long ULONG, *PULONG;
#else
typedef unsigned int ULONG, *PULONG;
......@@ -257,7 +257,7 @@ typedef int INT, *PINT, *LPINT;
typedef unsigned int UINT, *PUINT;
typedef float FLOAT, *PFLOAT;
typedef char *PSZ;
#ifdef _MSC_VER
#ifdef WINE_USE_LONG
typedef long *LPLONG;
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
#else
......
......@@ -452,7 +452,7 @@ typedef VOID *PVOID64;
typedef BYTE BOOLEAN, *PBOOLEAN;
typedef char CHAR, *PCHAR;
typedef short SHORT, *PSHORT;
#ifdef _MSC_VER
#ifdef WINE_USE_LONG
typedef long LONG, *PLONG;
#else
typedef int LONG, *PLONG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment