Author: cazfi
Date: Wed Dec  9 22:02:27 2015
New Revision: 30920

URL: http://svn.gna.org/viewcvs/freeciv?rev=30920&view=rev
Log:
Guard compilation of implementation of fc_assert_fail() with FREECIV_NDEBUG 
instead of NDEBUG. 

See bug #24150

Modified:
    branches/S2_6/utility/log.c

Modified: branches/S2_6/utility/log.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/utility/log.c?rev=30920&r1=30919&r2=30920&view=diff
==============================================================================
--- branches/S2_6/utility/log.c (original)
+++ branches/S2_6/utility/log.c Wed Dec  9 22:02:27 2015
@@ -487,7 +487,7 @@
   fc_fatal_assertions = fatal_assertions;
 }
 
-#ifndef NDEBUG
+#ifndef FREECIV_NDEBUG
 /**************************************************************************
   Returns wether the fc_assert* macros should raise a signal on failed
   assertion.
@@ -520,4 +520,4 @@
     raise(fc_fatal_assertions);
   }
 }
-#endif /* NDEBUG */
+#endif /* FREECIV_NDEBUG */


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

Reply via email to