From 030b4c2704975422230b4ae3a77ae9866163886b Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 25 Jul 2005 16:33:58 +0000 Subject: (svn r2710) Simplify dedicated server code a bit and don't compile it at all, if network support ist disabled --- unix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unix.c') diff --git a/unix.c b/unix.c index 8a4a53326..324be9ea3 100644 --- a/unix.c +++ b/unix.c @@ -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} }; -- cgit v1.2.3-54-g00ecf