Changed GUID_DEFINED to _GUID_DEFINED for compatibility (prevent conflict) with mingw...
authorRobert Dickenson <robd@reactos.org>
Mon, 7 Oct 2002 12:34:33 +0000 (12:34 +0000)
committerRobert Dickenson <robd@reactos.org>
Mon, 7 Oct 2002 12:34:33 +0000 (12:34 +0000)
svn path=/trunk/; revision=3628

reactos/include/ddk/pnptypes.h
reactos/include/net/ndis.h
reactos/include/ole32/guiddef.h
reactos/include/ole32/rpc.h
reactos/include/structs.h

index 61529f4..2ba5453 100644 (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;
index d1f8b8b..a018457 100644 (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 */
 
index 5b41edb..9e10326 100644 (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;
index fe2e48f..5cec503 100644 (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;
index a8decaa..7f7587c 100644 (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;