]> www.tinc-vpn.org Git - tinc/blobdiff - src/event.h
Replace MinGW with Windows to avoid ambiguities
[tinc] / src / event.h
index d0f19118a33a094bd47682c8d9ccd8d2fdf51bfb..70d86f510f30a57f3698e3acc98011ed43ad05d5 100644 (file)
@@ -33,7 +33,7 @@ typedef void (*signal_cb_t)(void *data);
 typedef struct io_t {
        int fd;
        int flags;
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
        WSAEVENT event;
 #endif
        io_cb_t cb;
@@ -57,7 +57,7 @@ typedef struct signal_t {
 extern struct timeval now;
 
 extern void io_add(io_t *io, io_cb_t cb, void *data, int fd, int flags);
-#ifdef HAVE_MINGW
+#ifdef HAVE_WINDOWS
 extern void io_add_event(io_t *io, io_cb_t cb, void *data, WSAEVENT event);
 #endif
 extern void io_del(io_t *io);