From 84a6ec3a05eb93b9cf34c59cddf9d92198c6e15b Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Sun, 1 Jan 2012 18:51:40 +0000 Subject: [PATCH] wrap init_sdl() in USE_SDL ifdef --- SheepShaver/src/Unix/main_unix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index b81fbfa7..49aa12bf 100644 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -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) {