mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 06:16:10 -04:00
#ifdef out some callbacks in regress.c that windows doesn't use.
svn:r1371
This commit is contained in:
parent
4c36411174
commit
8155ed0cba
@ -201,6 +201,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)
|
||||||
{
|
{
|
||||||
@ -215,6 +216,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