Author: cgutman
Date: Fri Oct 16 06:20:34 2009
New Revision: 43509
URL:
http://svn.reactos.org/svn/reactos?rev=43509&view=rev
Log:
- Define GUIDs correctly to prevent "multiple definition" errors
Modified:
trunk/reactos/include/reactos/winsock/nsp_dns.h
Modified: trunk/reactos/include/reactos/winsock/nsp_dns.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/winsock/ns…
==============================================================================
--- trunk/reactos/include/reactos/winsock/nsp_dns.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/winsock/nsp_dns.h [iso-8859-1] Fri Oct 16 06:20:34 2009
@@ -11,14 +11,15 @@
/* Includes */
#include <svcguid.h>
+#include <guiddef.h>
/* Globals */
-GUID HostnameGuid = SVCID_HOSTNAME;
-GUID AddressGuid = SVCID_INET_HOSTADDRBYINETSTRING;
-GUID HostAddrByNameGuid = SVCID_INET_HOSTADDRBYNAME;
-GUID IANAGuid = SVCID_INET_SERVICEBYNAME;
-GUID InetHostName = SVCID_INET_HOSTADDRBYNAME;
-GUID Ipv6Guid = SVCID_DNS_TYPE_AAAA;
+const GUID DECLSPEC_SELECTANY HostnameGuid = SVCID_HOSTNAME;
+const GUID DECLSPEC_SELECTANY AddressGuid = SVCID_INET_HOSTADDRBYINETSTRING;
+const GUID DECLSPEC_SELECTANY HostAddrByNameGuid = SVCID_INET_HOSTADDRBYNAME;
+const GUID DECLSPEC_SELECTANY IANAGuid = SVCID_INET_SERVICEBYNAME;
+const GUID DECLSPEC_SELECTANY InetHostName = SVCID_INET_HOSTADDRBYNAME;
+const GUID DECLSPEC_SELECTANY Ipv6Guid = SVCID_DNS_TYPE_AAAA;
/* Macros and Defines */
#define RNR_BUFFER_SIZE 512