Ah, yes. Windows.

This commit is contained in:
dongresource 2020-10-13 21:57:41 +02:00
parent 63414ea9a2
commit a8c8065920
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,6 @@ void startShard(CNShardServer* server) {
server->start(); server->start();
} }
#ifndef _WIN32
// terminate gracefully on SIGINT (for gprof) // terminate gracefully on SIGINT (for gprof)
void terminate(int arg) { void terminate(int arg) {
std::cout << "OpenFusion: terminating." << std::endl; std::cout << "OpenFusion: terminating." << std::endl;
@ -54,6 +53,7 @@ void terminate(int arg) {
exit(0); exit(0);
} }
#ifndef _WIN32
void initsignals() { void initsignals() {
struct sigaction act; struct sigaction act;