mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-21 23:08:49 -05:00
Make compatible with Win
This commit is contained in:
parent
0df90d3fb7
commit
93947c98a0
@ -73,8 +73,11 @@
|
||||
#include <emscripten.h>
|
||||
#endif
|
||||
|
||||
#if !SFG_OS_IS_MALWARE
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
@ -439,9 +442,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
SDL_Init(SDL_INIT_AUDIO);
|
||||
|
||||
#if !SFG_OS_IS_MALWARE
|
||||
signal(SIGINT,handleSignal);
|
||||
signal(SIGQUIT,handleSignal);
|
||||
signal(SIGTERM,handleSignal);
|
||||
#endif
|
||||
|
||||
SDL_AudioSpec audioSpec;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user