Author: cazfi
Date: Fri Feb 20 23:06:51 2015
New Revision: 28237

URL: http://svn.gna.org/viewcvs/freeciv?rev=28237&view=rev
Log:
Restored definition of 'bool' in case there's no compliant stdbool.h available
by reverting patch #5659.

See bug #23292

Modified:
    branches/S2_5/utility/support.h

Modified: branches/S2_5/utility/support.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/utility/support.h?rev=28237&r1=28236&r2=28237&view=diff
==============================================================================
--- branches/S2_5/utility/support.h     (original)
+++ branches/S2_5/utility/support.h     Fri Feb 20 23:06:51 2015
@@ -57,9 +57,11 @@
 #undef true
 #undef false
 #undef __bool_true_false_are_defined
+#define bool fc_bool
 #define true  1
 #define false 0
 #define __bool_true_false_are_defined 1
+typedef unsigned int fc_bool;
 #endif /* ! HAVE_STDBOOL_H */
 #endif /* ! __BEOS__ */
 #endif /* __cplusplus */


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

Reply via email to