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

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

See bug #24150

Modified:
    trunk/utility/log.c

Modified: trunk/utility/log.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/log.c?rev=30919&r1=30918&r2=30919&view=diff
==============================================================================
--- trunk/utility/log.c (original)
+++ trunk/utility/log.c Wed Dec  9 22:02:22 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