Changed GUID_DEFINED to _GUID_DEFINED for compatibility (prevent conflict) with mingw headers.

svn path=/trunk/; revision=3628
This commit is contained in:
Robert Dickenson 2002-10-07 12:34:33 +00:00
parent 4fbeb6d1f1
commit 6cf061fde8
5 changed files with 14 additions and 11 deletions

View file

@ -5,8 +5,8 @@ struct _DEVICE_OBJECT;
struct _FILE_OBJECT;
// windows.h may be included before
#ifndef GUID_DEFINED
#define GUID_DEFINED
#ifndef _GUID_DEFINED
#define _GUID_DEFINED
typedef struct _GUID {
ULONG Data1;

View file

@ -197,8 +197,8 @@ typedef CONST CHAR *PCSTR;
#if defined(NDIS_MINIPORT_DRIVER) || !defined(_MSC_VER)
#ifndef GUID_DEFINED
#define GUID_DEFINED
#ifndef _GUID_DEFINED
#define _GUID_DEFINED
typedef struct _GUID {
ULONG Data1;
@ -207,7 +207,7 @@ typedef struct _GUID {
UCHAR Data4[8];
} GUID;
#endif /* GUID_DEFINED */
#endif /* _GUID_DEFINED */
#endif /* NDIS_MINIPORT_DRIVER || _MSC_VER */

View file

@ -43,8 +43,8 @@ Cambridge, MA 02139, USA.
// guid definition
#ifndef GUID_DEFINED
#define GUID_DEFINED
#ifndef _GUID_DEFINED
#define _GUID_DEFINED
typedef struct _GUID {
unsigned long Data1;
unsigned short Data2;

View file

@ -18,8 +18,8 @@ typedef long RPC_STATUS;
typedef void* I_RPC_HANDLE;
#ifndef GUID_DEFINED
#define GUID_DEFINED
#ifndef _GUID_DEFINED
#define _GUID_DEFINED
typedef struct _GUID
{
DWORD Data1;

View file

@ -257,10 +257,13 @@ typedef struct {
DWORD bV4GammaBlue;
} BITMAPV4HEADER, *LPBITMAPV4HEADER, *PBITMAPV4HEADER;
#ifndef _BLOB_DEFINED
#define _BLOB_DEFINED
typedef struct _BLOB {
ULONG cbSize;
BYTE *pBlobData;
} BLOB;
#endif
typedef struct _SHITEMID {
USHORT cb;
@ -2794,8 +2797,8 @@ typedef struct _SERVICE_ADDRESSES {
SERVICE_ADDRESS Addresses[1];
} SERVICE_ADDRESSES, *LPSERVICE_ADDRESSES;
#ifndef GUID_DEFINED
#define GUID_DEFINED
#ifndef _GUID_DEFINED
#define _GUID_DEFINED
typedef struct _GUID
{
unsigned long Data1;