# HG changeset patch # User glx # Date 2009-03-11 17:40:49 # Node ID 420549341fb162bed0ab5e3b4e299456253d21ac # Parent eee2a93dcbe54d8a56066a94362dc9e17063e5ca (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) diff --git a/src/settings.cpp b/src/settings.cpp --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1216,8 +1216,8 @@ static const SettingDesc _music_settings SDT_END() }; -/* win32_v.c only settings */ -#ifdef WIN32 +/* win32_v.cpp only settings */ +#if defined(WIN32) && !defined(DEDICATED) extern bool _force_full_redraw, _window_maximize; extern uint _display_hz, _fullscreen_bpp; @@ -1880,7 +1880,7 @@ static void HandleSettingDescs(IniFile * { proc(ini, (const SettingDesc*)_misc_settings, "misc", NULL); proc(ini, (const SettingDesc*)_music_settings, "music", &msf); -#ifdef WIN32 +#if defined(WIN32) && !defined(DEDICATED) proc(ini, (const SettingDesc*)_win32_settings, "win32", NULL); #endif /* WIN32 */