From 308dbcf8222a54a287f142a780a7f2c10562918e Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 11 Mar 2009 17:40:49 +0000 Subject: (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) --- src/settings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/settings.cpp b/src/settings.cpp index dd444962f..9760ded42 100644 --- 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 *ini, SettingDescProc *proc, SettingDescP { 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 */ -- cgit v1.2.3-70-g09d2