mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-26 15:00:06 +00:00
Ah, yes. Windows.
This commit is contained in:
parent
63414ea9a2
commit
a8c8065920
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user