From 71da0f2d24f5233c643347a72ed695f72cd68489 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sun, 20 Apr 2025 08:40:43 +0200 Subject: [PATCH] DolphinNoGUI: Replace deprecated `signal.h` header --- Source/Core/DolphinNoGUI/MainNoGUI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 2d677aa7ba..f25f20eef4 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -4,10 +4,10 @@ #include "DolphinNoGUI/Platform.h" #include +#include #include #include #include -#include #include #include @@ -307,8 +307,8 @@ int main(int argc, char* argv[]) }); #ifdef _WIN32 - signal(SIGINT, signal_handler); - signal(SIGTERM, signal_handler); + std::signal(SIGINT, signal_handler); + std::signal(SIGTERM, signal_handler); #else // Shut down cleanly on SIGINT and SIGTERM struct sigaction sa;