mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_SDL
|
||||||
static bool init_sdl()
|
static bool init_sdl()
|
||||||
{
|
{
|
||||||
int sdl_flags = 0;
|
int sdl_flags = 0;
|
||||||
@ -701,6 +702,7 @@ static bool init_sdl()
|
|||||||
signal(SIGTERM, SIG_DFL);
|
signal(SIGTERM, SIG_DFL);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user