mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-15 12:51:29 -06:00
Vulkan: Fix compile error on glibc 2.43 (#1870)
This commit is contained in:
parent
391478b307
commit
7e5516f94d
@ -343,7 +343,9 @@ void VulkanRenderer::GetDeviceFeatures()
|
||||
int BreathOfTheWildChildProcessMain()
|
||||
{
|
||||
InitializeGlobalVulkan();
|
||||
struct sigaction sa{.sa_handler = [](int unused){_exit(1);}};
|
||||
struct sigaction sa{};
|
||||
sa.sa_handler = [](int unused) { _exit(1); };
|
||||
|
||||
int ret = sigaction(SIGABRT, &sa, nullptr);
|
||||
|
||||
freopen("/dev/null", "w", stderr);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user