Skip to content

Commit

Permalink
Fix elifdef not being available on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivorforce committed Oct 24, 2024
1 parent 226fd5a commit ea59ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace pygodot {
void system_quick_exit(int status) {
#ifdef WINDOWS_ENABLED
TerminateProcess(GetCurrentProcess(), status);
#elifdef _GLIBCXX_HAVE_QUICK_EXIT
#elif defined(_GLIBCXX_HAVE_QUICK_EXIT)
std::quick_exit(status);
#else
std::_Exit(status);
Expand Down

0 comments on commit ea59ad2

Please sign in to comment.