Project

General

Profile

Feature #714 ยป 0002-Add-macro-FREECIV_DEV_SAVE_COMPAT_3_4.patch

Marko Lindqvist, 10/20/2024 06:06 AM

View differences:

configure.ac
AS_IF([test $dev_save_compat != 0],
[AC_DEFINE([FREECIV_DEV_SAVE_COMPAT], [1],
[Development version save game compatibility])
AC_DEFINE([FREECIV_DEV_SAVE_COMPAT_3_4], [1],
[Development version save game compatibility - 3.4 development])
AC_DEFINE([FREECIV_DEV_SAVE_COMPAT_3_3], [1],
[Development version save game compatibility - 3.3 development])])
gen_headers/meson_fc_config.h.in
#ifdef FREECIV_DEV_SAVE_COMPAT
/* Current development versions */
#define FREECIV_DEV_SAVE_COMPAT_3_4
#define FREECIV_DEV_SAVE_COMPAT_3_3
#endif /* FREECIV_DEV_SAVE_COMPAT */
server/savegame/savecompat.c
} /* Version < 3.2.93 */
#endif /* FREECIV_DEV_SAVE_COMPAT_3_3 */
#ifdef FREECIV_DEV_SAVE_COMPAT_3_4
if (game_version < 3039100) {
/* Before version number bump to 3.3.91 */
} /* Version < 3.3.91 */
#endif /* FREECIV_DEV_SAVE_COMPAT_3_4 */
}
/************************************************************************//**
    (1-1/1)