gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26959 - gnunet/src/exit


From: gnunet
Subject: [GNUnet-SVN] r26959 - gnunet/src/exit
Date: Sun, 21 Apr 2013 19:53:47 +0200

Author: LRN
Date: 2013-04-21 19:53:47 +0200 (Sun, 21 Apr 2013)
New Revision: 26959

Modified:
   gnunet/src/exit/gnunet-helper-exit-windows.c
Log:
Mingw-w64 compatibility for W32 exit helper

Modified: gnunet/src/exit/gnunet-helper-exit-windows.c
===================================================================
--- gnunet/src/exit/gnunet-helper-exit-windows.c        2013-04-21 17:53:41 UTC 
(rev 26958)
+++ gnunet/src/exit/gnunet-helper-exit-windows.c        2013-04-21 17:53:47 UTC 
(rev 26959)
@@ -31,11 +31,16 @@
  */
 
 #include <stdio.h>
+#include <Winsock2.h>
 #include <windows.h>
 #include <setupapi.h>
+#ifndef __MINGW64_VERSION_MAJOR
 #include <ddk/cfgmgr32.h>
 #include <ddk/newdev.h>
-#include <Winsock2.h>
+#else
+#include <cfgmgr32.h>
+#include <newdev.h>
+#endif
 #include <time.h>
 #include "platform.h"
 #include "tap-windows.h"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]