diff --git a/lib/roken/NTMakefile b/lib/roken/NTMakefile index a9f7eaf03..b52cfec52 100644 --- a/lib/roken/NTMakefile +++ b/lib/roken/NTMakefile @@ -154,6 +154,7 @@ INCFILES = \ $(INCDIR)\roken.h \ $(INCDIR)\roken-common.h \ $(INCDIR)\rtbl.h \ + $(INCDIR)\stdbool.h \ $(INCDIR)\syslog.h \ $(INCDIR)\vis.h \ $(INCDIR)\xdbm.h diff --git a/lib/roken/stdbool.h b/lib/roken/stdbool.h new file mode 100644 index 000000000..cdaee5b5d --- /dev/null +++ b/lib/roken/stdbool.h @@ -0,0 +1,13 @@ +#ifndef _STDBOOL_H +#define _STDBOOL_H + +#ifndef __GNUC__ +typedef int _Bool; +#endif + +#define bool _Bool +#define true 1 +#define false 0 +#define __bool_true_false_are_defined 1 + +#endif /* _STDBOOL_H */