summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-03-11 17:40:49 +0000
committerglx <glx@openttd.org>2009-03-11 17:40:49 +0000
commit5896f5db574dc6cafb09a7dbc761a33b0cdfdadf (patch)
tree774663e02a8d39ed930a9edacd46fdbdd8b321f3
parent9d0c77b12368a0789a381b845ab0611271650a7a (diff)
downloadopenttd-5896f5db574dc6cafb09a7dbc761a33b0cdfdadf.tar.xz
(svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed)
-rw-r--r--src/settings.cpp6
1 files changed, 3 insertions, 3 deletions
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 */