summaryrefslogtreecommitdiffstats
path: root/include/bool.h
blob: 6f714d09ed14de401851c8dafc9a4a5555e1b3a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef AL_BOOL_H
#define AL_BOOL_H

#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
#endif

#ifndef bool
#ifdef HAVE_C99_BOOL
#define bool _Bool
#else
#define bool int
#endif
#define false 0
#define true 1
#endif

#endif /* AL_BOOL_H */