summaryrefslogtreecommitdiff
path: root/src/compat/compat-stdbool.h
blob: 99412188fe574f2c600b57fc2ced3ec8fb28f5b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __COMPAT_STDBOOL_H
#define __COMPAT_STDBOOL_H

#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
#else
typedef int bool;
#define false 0
#define true 1
#endif

#endif