Added backdoor check for _BLOB_DEFINED to prevent header conflict.
authorRobert Dickenson <robd@reactos.org>
Mon, 7 Oct 2002 12:40:41 +0000 (12:40 +0000)
committerRobert Dickenson <robd@reactos.org>
Mon, 7 Oct 2002 12:40:41 +0000 (12:40 +0000)
svn path=/trunk/; revision=3629

reactos/include/winsock2.h

index ffbd978..a93362b 100644 (file)
@@ -650,13 +650,15 @@ typedef struct WSAData {
     CHAR FAR* lpVendorInfo;
 } WSADATA, FAR* LPWSADATA;
 
-#if 0
+#ifndef _BLOB_DEFINED
+#define _BLOB_DEFINED
 typedef struct _BLOB {
     ULONG cbSize;
     BYTE *pBlobData;
 } BLOB, *LPBLOB;
-#endif
+#else
 typedef BLOB *LPBLOB;
+#endif
 
 typedef struct _SOCKET_ADDRESS {
     LPSOCKADDR lpSockaddr;