diff options
author | LRN <lrn1986@gmail.com> | 2013-12-19 18:39:14 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-19 18:39:14 +0000 |
commit | 8c9ad62dcde52c2de6330337ec58991ba16aa463 (patch) | |
tree | 2627b57ec6913aab2a991facd75ddcc933fbfee4 /src/gns/w32nsp.c | |
parent | 2304992a15f66518c75e440d53f0b555027c1d96 (diff) | |
download | gnunet-8c9ad62dcde52c2de6330337ec58991ba16aa463.tar.gz gnunet-8c9ad62dcde52c2de6330337ec58991ba16aa463.zip |
Fix debug logging in w32nsp to not to use libintl
Diffstat (limited to 'src/gns/w32nsp.c')
-rw-r--r-- | src/gns/w32nsp.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gns/w32nsp.c b/src/gns/w32nsp.c index 2b93df848..5ad9fc753 100644 --- a/src/gns/w32nsp.c +++ b/src/gns/w32nsp.c | |||
@@ -26,19 +26,20 @@ | |||
26 | * "Network Programming For Microsoft Windows, 2Nd Edition". | 26 | * "Network Programming For Microsoft Windows, 2Nd Edition". |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include <stdint.h> | ||
30 | #include <ws2tcpip.h> | ||
31 | #include <ws2spi.h> | ||
32 | #include <windows.h> | ||
33 | #include <nspapi.h> | ||
34 | |||
35 | #if 1 | 29 | #if 1 |
36 | # define DEBUGLOG(s, ...) | 30 | # define DEBUGLOG(s, ...) |
37 | #endif | 31 | #endif |
38 | #if 0 | 32 | #if 0 |
33 | # define __printf__ printf | ||
39 | # define DEBUGLOG(s, ...) printf (s, ##__VA_ARGS__) | 34 | # define DEBUGLOG(s, ...) printf (s, ##__VA_ARGS__) |
40 | #endif | 35 | #endif |
41 | 36 | ||
37 | #include <stdint.h> | ||
38 | #include <ws2tcpip.h> | ||
39 | #include <ws2spi.h> | ||
40 | #include <windows.h> | ||
41 | #include <nspapi.h> | ||
42 | |||
42 | #define WINDOWS 1 | 43 | #define WINDOWS 1 |
43 | #define MINGW 1 | 44 | #define MINGW 1 |
44 | #ifndef __BYTE_ORDER | 45 | #ifndef __BYTE_ORDER |