Fix debug logging in w32nsp to not to use libintl
[oweals/gnunet.git] / src / gns / w32nsp.c
index 2b93df84832b032c75f882fbfe4534290a9874de..5ad9fc7538957bb99a70f2161549f91df3dc54e7 100644 (file)
  * "Network Programming For Microsoft Windows, 2Nd Edition".
  */
 
-#include <stdint.h>
-#include <ws2tcpip.h>
-#include <ws2spi.h>
-#include <windows.h>
-#include <nspapi.h>
-
 #if 1
 #  define DEBUGLOG(s, ...)
 #endif
 #if 0
+#  define __printf__ printf
 #  define DEBUGLOG(s, ...) printf (s, ##__VA_ARGS__)
 #endif
 
+#include <stdint.h>
+#include <ws2tcpip.h>
+#include <ws2spi.h>
+#include <windows.h>
+#include <nspapi.h>
+
 #define WINDOWS 1
 #define MINGW 1
 #ifndef __BYTE_ORDER