mercurial/util.h
changeset 24443 539b3c7eea44
parent 24442 98042b0e19f9
child 24608 1c533e23ce95
equal deleted inserted replaced
24442:98042b0e19f9 24443:539b3c7eea44
   207 	}
   207 	}
   208 	memcpy(&ret, &t, sizeof(t));
   208 	memcpy(&ret, &t, sizeof(t));
   209 	return ret;
   209 	return ret;
   210 }
   210 }
   211 
   211 
       
   212 #define MIN(a, b) (((a)<(b))?(a):(b))
   212 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */
   213 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */
   213 #ifdef _MSC_VER
   214 #ifdef _MSC_VER
   214 #define true 1
   215 #define true 1
   215 #define false 0
   216 #define false 0
   216 typedef unsigned char bool;
   217 typedef unsigned char bool;