projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust CI to new integration tests
[tinc]
/
src
/
event.h
diff --git
a/src/event.h
b/src/event.h
index
d0f1911
..
70d86f5
100644
(file)
--- a/
src/event.h
+++ b/
src/event.h
@@
-33,7
+33,7
@@
typedef void (*signal_cb_t)(void *data);
typedef struct io_t {
int fd;
int flags;
typedef struct io_t {
int fd;
int flags;
-#ifdef HAVE_
MINGW
+#ifdef HAVE_
WINDOWS
WSAEVENT event;
#endif
io_cb_t cb;
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);
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);
extern void io_add_event(io_t *io, io_cb_t cb, void *data, WSAEVENT event);
#endif
extern void io_del(io_t *io);