Author: cazfi
Date: Sun Jan  1 23:19:04 2017
New Revision: 34758

URL: http://svn.gna.org/viewcvs/freeciv?rev=34758&view=rev
Log:
Added macro FREECIV_DEV_SAVE_COMPAT_3_1 to be used where the compatibility code
is specific to 3.1 development.

See patch #7372

Modified:
    trunk/configure.ac
    trunk/server/savecompat.c

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/configure.ac?rev=34758&r1=34757&r2=34758&view=diff
==============================================================================
--- trunk/configure.ac  (original)
+++ trunk/configure.ac  Sun Jan  1 23:19:04 2017
@@ -326,6 +326,8 @@
 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_1], [1],
+                 [Development version save game compatibility - 3.1 
development])
        AC_DEFINE([FREECIV_DEV_SAVE_COMPAT_3_0], [1],
                  [Development version save game compatibility - 3.0 
development])])
 

Modified: trunk/server/savecompat.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/savecompat.c?rev=34758&r1=34757&r2=34758&view=diff
==============================================================================
--- trunk/server/savecompat.c   (original)
+++ trunk/server/savecompat.c   Sun Jan  1 23:19:04 2017
@@ -1768,6 +1768,9 @@
     } player_slots_iterate_end;
   }
 #endif /* FREECIV_DEV_SAVE_COMPAT_3_0 */
+
+#ifdef FREECIV_DEV_SAVE_COMPAT_3_1
+#endif /* FREECIV_DEV_SAVE_COMPAT_3_1 */
 }
 #endif /* FREECIV_DEV_SAVE_COMPAT */
 


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to