Blame jemalloc/include/msvc_compat/C99/stdbool.h

Packit 345191
#ifndef stdbool_h
Packit 345191
#define stdbool_h
Packit 345191
Packit 345191
#include <wtypes.h>
Packit 345191
Packit 345191
/* MSVC doesn't define _Bool or bool in C, but does have BOOL */
Packit 345191
/* Note this doesn't pass autoconf's test because (bool) 0.5 != true */
Packit 345191
/* Clang-cl uses MSVC headers, so needs msvc_compat, but has _Bool as
Packit 345191
 * a built-in type. */
Packit 345191
#ifndef __clang__
Packit 345191
typedef BOOL _Bool;
Packit 345191
#endif
Packit 345191
Packit 345191
#define bool _Bool
Packit 345191
#define true 1
Packit 345191
#define false 0
Packit 345191
Packit 345191
#define __bool_true_false_are_defined 1
Packit 345191
Packit 345191
#endif /* stdbool_h */