mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
wrap init_sdl() in USE_SDL ifdef
This commit is contained in:
parent
df4342b6db
commit
84a6ec3a05
@ -669,6 +669,7 @@ static bool install_signal_handlers(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef USE_SDL
|
||||
static bool init_sdl()
|
||||
{
|
||||
int sdl_flags = 0;
|
||||
@ -701,6 +702,7 @@ static bool init_sdl()
|
||||
signal(SIGTERM, SIG_DFL);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user