mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd: ircd_signal: win32 stubs
This commit is contained in:
parent
7671316784
commit
53e50d0e2f
1 changed files with 16 additions and 0 deletions
|
@ -27,6 +27,8 @@
|
|||
#include "client.h"
|
||||
#include "send.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
/*
|
||||
* dummy_handler - don't know if this is really needed but if alarm is still
|
||||
* being used we probably will
|
||||
|
@ -171,3 +173,17 @@ setup_signals()
|
|||
|
||||
sigprocmask(SIG_UNBLOCK, &sigs, NULL);
|
||||
}
|
||||
|
||||
#else
|
||||
void
|
||||
setup_signals()
|
||||
{
|
||||
/* this is a stub for mingw32 */
|
||||
}
|
||||
|
||||
void
|
||||
setup_reboot_signals()
|
||||
{
|
||||
/* this is a stub for mingw32 */
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue