From ea59ad250f7e12b2f682526c776faee11b89143b Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Fri, 25 Oct 2024 01:47:55 +0200 Subject: [PATCH] Fix elifdef not being available on windows. --- src/util/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/system.cpp b/src/util/system.cpp index 74cb053..8630d8b 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -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);