[_WIN32] (panic): Unused under Windows, remove from build.

This commit is contained in:
Ron Koenderink 2004-12-21 01:56:57 +00:00
parent 3056684078
commit 976749e5c0

View file

@ -296,10 +296,10 @@ close_files(void)
}
/* we're going down. try to close the files at least */
#if !defined(_WIN32)
void
panic(int sig)
{
#if !defined(_WIN32)
#ifdef POSIXSIGNALS
struct sigaction act;
@ -316,7 +316,6 @@ panic(int sig)
signal(SIGILL, SIG_DFL);
signal(SIGFPE, SIG_DFL);
#endif /* POSIXSIGNALS */
#endif /* _WIN32 */
logerror("server received fatal signal %d", sig);
log_last_commands();
close_files();
@ -326,6 +325,7 @@ panic(int sig)
if (raise(sig))
_exit(1);
}
#endif /* _WIN32 */
void
shutdwn(int sig)