]> granicus.if.org Git - libevent/commitdiff
Also make win32select.c conditional for IDE users
authorNick Mathewson <nickm@torproject.org>
Sat, 11 Feb 2012 04:56:49 +0000 (23:56 -0500)
committerNick Mathewson <nickm@torproject.org>
Sat, 11 Feb 2012 04:56:49 +0000 (23:56 -0500)
win32select.c

index 675ce00a00fc9c9e359df76f02820986f2f183bc..cbd80dcacf4bd410d235461f4cac450e65137c23 100644 (file)
@@ -28,6 +28,8 @@
 #include "event2/event-config.h"
 #include "evconfig-private.h"
 
+#ifdef _WIN32
+
 #include <winsock2.h>
 #include <windows.h>
 #include <sys/types.h>
@@ -375,3 +377,5 @@ win32_dealloc(struct event_base *_base)
        memset(win32op, 0, sizeof(win32op));
        mm_free(win32op);
 }
+
+#endif