diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | sdl.c | 7 |
2 files changed, 7 insertions, 5 deletions
@@ -687,13 +687,10 @@ C_SOURCES += water_cmd.c C_SOURCES += waypoint.c C_SOURCES += widget.c C_SOURCES += window.c +C_SOURCES += sdl.c CXX_SOURCES = -ifdef WITH_SDL -C_SOURCES += sdl.c -endif - ifdef WIN32 C_SOURCES += win32.c w32dm.c else @@ -706,4 +706,9 @@ static void DbgRedraw() } #endif -#endif // WITH_SDL +#else + +/* Stub for dedicated server */ +void ToggleFullScreen(bool full_screen) {} + +#endif /* WITH_SDL */ |