[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35402 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35402 - gnunet/src/gns |
Date: |
Wed, 18 Mar 2015 10:37:37 +0100 |
Author: LRN
Date: 2015-03-18 10:37:36 +0100 (Wed, 18 Mar 2015)
New Revision: 35402
Modified:
gnunet/src/gns/gnunet-gns-helper-service-w32.c
gnunet/src/gns/w32nsp-install.c
gnunet/src/gns/w32nsp-resolve.c
gnunet/src/gns/w32nsp-uninstall.c
gnunet/src/gns/w32nsp.c
Log:
Include initguid.h instead of just defining INITGUID
Modified: gnunet/src/gns/gnunet-gns-helper-service-w32.c
===================================================================
--- gnunet/src/gns/gnunet-gns-helper-service-w32.c 2015-03-17 13:45:03 UTC
(rev 35401)
+++ gnunet/src/gns/gnunet-gns-helper-service-w32.c 2015-03-18 09:37:36 UTC
(rev 35402)
@@ -23,7 +23,6 @@
* @author Christian Grothoff
* @author LRN
*/
-#define INITGUID
#include "platform.h"
#include <gnunet_util_lib.h>
#include <gnunet_identity_service.h>
@@ -34,6 +33,7 @@
#include "w32resolver.h"
#include <nspapi.h>
#include <unistr.h>
+#include <initguid.h>
#define DEFINE_DNS_GUID(a,x) DEFINE_GUID(a, 0x00090035, 0x0000, x, 0xc0, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x46)
DEFINE_DNS_GUID(SVCID_DNS_TYPE_A, 0x0001);
Modified: gnunet/src/gns/w32nsp-install.c
===================================================================
--- gnunet/src/gns/w32nsp-install.c 2015-03-17 13:45:03 UTC (rev 35401)
+++ gnunet/src/gns/w32nsp-install.c 2015-03-18 09:37:36 UTC (rev 35402)
@@ -23,12 +23,12 @@
* @author LRN
*/
-#define INITGUID
#include <ws2spi.h>
#include <windows.h>
#include <nspapi.h>
#include "gnunet_w32nsp_lib.h"
#include <stdio.h>
+#include <initguid.h>
int
main (int argc, char **argv)
Modified: gnunet/src/gns/w32nsp-resolve.c
===================================================================
--- gnunet/src/gns/w32nsp-resolve.c 2015-03-17 13:45:03 UTC (rev 35401)
+++ gnunet/src/gns/w32nsp-resolve.c 2015-03-18 09:37:36 UTC (rev 35402)
@@ -22,7 +22,6 @@
* @brief W32 integration for GNS
* @author LRN
*/
-#define INITGUID
#include <ws2tcpip.h>
#include <windows.h>
#include <nspapi.h>
@@ -30,6 +29,7 @@
#include <nspapi.h>
#include "gnunet_w32nsp_lib.h"
#include <stdio.h>
+#include <initguid.h>
typedef int (WSPAPI *LPNSPSTARTUP) (LPGUID lpProviderId, LPNSP_ROUTINE
lpnspRoutines);
Modified: gnunet/src/gns/w32nsp-uninstall.c
===================================================================
--- gnunet/src/gns/w32nsp-uninstall.c 2015-03-17 13:45:03 UTC (rev 35401)
+++ gnunet/src/gns/w32nsp-uninstall.c 2015-03-18 09:37:36 UTC (rev 35402)
@@ -1,9 +1,9 @@
-#define INITGUID
#include <ws2spi.h>
#include <windows.h>
#include <nspapi.h>
#include "gnunet_w32nsp_lib.h"
#include <stdio.h>
+#include <initguid.h>
int
main (int argc, char **argv)
Modified: gnunet/src/gns/w32nsp.c
===================================================================
--- gnunet/src/gns/w32nsp.c 2015-03-17 13:45:03 UTC (rev 35401)
+++ gnunet/src/gns/w32nsp.c 2015-03-18 09:37:36 UTC (rev 35402)
@@ -71,7 +71,7 @@
#endif
#endif
#include "w32resolver.h"
-#define INITGUID
+#include <initguid.h>
#include "gnunet_w32nsp_lib.h"
#undef INITGUID
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35402 - gnunet/src/gns,
gnunet <=