mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -04:00
Fix a win32 warning in regress.c
svn:r608
This commit is contained in:
parent
127888bded
commit
a5176a65cc
@ -192,6 +192,7 @@ timeout_cb(int fd, short event, void *arg)
|
|||||||
test_ok = 1;
|
test_ok = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
static void
|
static void
|
||||||
signal_cb_sa(int sig)
|
signal_cb_sa(int sig)
|
||||||
{
|
{
|
||||||
@ -206,6 +207,7 @@ signal_cb(int fd, short event, void *arg)
|
|||||||
signal_del(ev);
|
signal_del(ev);
|
||||||
test_ok = 1;
|
test_ok = 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
struct both {
|
struct both {
|
||||||
struct event ev;
|
struct event ev;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user