Fix w32 build

This commit is contained in:
pancake 2014-03-02 00:54:50 +01:00
parent ffaa61c084
commit ed0fd9caee
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ static void sigusr1(int s) {
r_core_file_close (core, fd);
}
#if __UNIX__
static void _libwrap_init() __attribute__ ((constructor));
static void _libwrap_init() {
signal (SIGUSR1, sigusr1);
@ -17,3 +18,4 @@ static void _libwrap_init() {
// TODO: maybe reopen every time a signal is spawned to reload memory regions information
// TODO: open io_self
}
#endif