mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
fix windows build
This commit is contained in:
parent
083fc514d5
commit
64ae827f89
1 changed files with 2 additions and 0 deletions
|
|
@ -33,7 +33,9 @@ int main(int argc, char** argv) {
|
|||
std::cerr << err.what() << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
#ifndef _WIN32
|
||||
std::signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
std::signal(SIGTERM, sigterm_handler);
|
||||
#ifdef NDEBUG
|
||||
std::signal(SIGINT, sigterm_handler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue