mercurial/util.h
branchstable
changeset 24823 3550ccbafca2
parent 24608 1c533e23ce95
child 24829 8e9f8d2a2c0c
--- a/mercurial/util.h	Mon Apr 20 17:16:22 2015 +0200
+++ b/mercurial/util.h	Mon Apr 20 14:47:51 2015 -0400
@@ -218,7 +218,7 @@
 
 #define MIN(a, b) (((a)<(b))?(a):(b))
 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */
-#ifdef _MSC_VER
+#ifdef _MSC_VER || __STDC_VERSION__ < 199901L
 #define true 1
 #define false 0
 typedef unsigned char bool;