1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/memory/jemalloc/src/include/msvc_compat/stdbool.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +#ifndef stdbool_h 1.5 +#define stdbool_h 1.6 + 1.7 +#include <wtypes.h> 1.8 + 1.9 +/* MSVC doesn't define _Bool or bool in C, but does have BOOL */ 1.10 +/* Note this doesn't pass autoconf's test because (bool) 0.5 != true */ 1.11 +typedef BOOL _Bool; 1.12 + 1.13 +#define bool _Bool 1.14 +#define true 1 1.15 +#define false 0 1.16 + 1.17 +#define __bool_true_false_are_defined 1 1.18 + 1.19 +#endif /* stdbool_h */