]> granicus.if.org Git - libevent/commitdiff
Fix a couple of "#ifdef WIN32" instances
authorNick Mathewson <nickm@torproject.org>
Tue, 24 Dec 2013 19:37:30 +0000 (14:37 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 24 Dec 2013 19:37:30 +0000 (14:37 -0500)
sample/dns-example.c
sample/https-client.c

index c4fb64a5eba4e46acb342214f833c1f64d251b11..15e48ce4bc66f60398084e30ae16789167df0a04 100644 (file)
@@ -171,7 +171,7 @@ main(int c, char **v) {
                ++idx;
        }
 
-#ifdef WIN32
+#ifdef _WIN32
        {
                WSADATA WSAData;
                WSAStartup(0x101, &WSAData);
index 81abc7439905a08b16141abf205b04f081e8ff02..dfb77c66bc5fab45c4200c498b8d6b34bea27209 100644 (file)
@@ -16,7 +16,7 @@
 #include <string.h>
 #include <errno.h>
 
-#ifdef WIN32
+#ifdef _WIN32
 #include <winsock2.h>
 #include <ws2tcpip.h>
 #else