(svn r2710) Simplify dedicated server code a bit and don't compile it at all, if network support ist disabled

This commit is contained in:
tron
2005-07-25 16:33:58 +00:00
parent f60b122a68
commit 84f78ea44a
5 changed files with 15 additions and 39 deletions

2
unix.c
View File

@@ -378,7 +378,9 @@ const DriverDesc _video_driver_descs[] = {
#if defined(WITH_SDL)
{ "sdl", "SDL Video Driver", &_sdl_video_driver, 1},
#endif
#ifdef ENABLE_NETWORK
{ "dedicated", "Dedicated Video Driver", &_dedicated_video_driver, 0},
#endif
{ NULL, NULL, NULL, 0}
};