mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-04 22:40:05 +00:00
Ah, yes. Windows.
This commit is contained in:
parent
63414ea9a2
commit
a8c8065920
@ -41,7 +41,6 @@ void startShard(CNShardServer* server) {
|
||||
server->start();
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
// terminate gracefully on SIGINT (for gprof)
|
||||
void terminate(int arg) {
|
||||
std::cout << "OpenFusion: terminating." << std::endl;
|
||||
@ -54,6 +53,7 @@ void terminate(int arg) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
void initsignals() {
|
||||
struct sigaction act;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user