mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed)
This commit is contained in:
parent
fb2ea6c9ed
commit
308dbcf822
|
@ -1216,8 +1216,8 @@ static const SettingDesc _music_settings[] = {
|
||||||
SDT_END()
|
SDT_END()
|
||||||
};
|
};
|
||||||
|
|
||||||
/* win32_v.c only settings */
|
/* win32_v.cpp only settings */
|
||||||
#ifdef WIN32
|
#if defined(WIN32) && !defined(DEDICATED)
|
||||||
extern bool _force_full_redraw, _window_maximize;
|
extern bool _force_full_redraw, _window_maximize;
|
||||||
extern uint _display_hz, _fullscreen_bpp;
|
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*)_misc_settings, "misc", NULL);
|
||||||
proc(ini, (const SettingDesc*)_music_settings, "music", &msf);
|
proc(ini, (const SettingDesc*)_music_settings, "music", &msf);
|
||||||
#ifdef WIN32
|
#if defined(WIN32) && !defined(DEDICATED)
|
||||||
proc(ini, (const SettingDesc*)_win32_settings, "win32", NULL);
|
proc(ini, (const SettingDesc*)_win32_settings, "win32", NULL);
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue