Changeset - r1825:1161c89a289c
[Not reviewed]
master
0 2 0
Darkvater - 19 years ago 2005-05-16 12:15:34
darkvater@openttd.org
(svn r2330) - Fix: link error when compiling as dedicated. Add sdl.c to always compile in makefile as it is always protected by WITH_SDL and add a stub for ToggleFullScreen()
2 files changed with 7 insertions and 5 deletions:
sdl.c
6
1
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
@@ -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
sdl.c
Show inline comments
 
@@ -706,4 +706,9 @@ static void DbgRedraw()
 
}
 
#endif
 

	
 
#endif // WITH_SDL
 
#else
 

	
 
/* Stub for dedicated server */
 
void ToggleFullScreen(bool full_screen) {}
 

	
 
#endif /* WITH_SDL */
0 comments (0 inline, 0 general)