Krolyxon
Commit e810072

Branches

Refs →

nsxive810072

Use bool from stdbool.h after switching to C99

Author
Bert Münnich
Date
2013-02-08 23:20 +0100
Parent
b3f3bc2
Commit
e810072d71355ef68315f1c087168f290585c716

+1 −8

1 file changed

  1. M types.h +1 −8
M types.h View
@@ -19,14 +19,7 @@
1919 #ifndef TYPES_H
2020 #define TYPES_H
2121
22−#undef bool
23−#undef false
24−#undef true
25−
26−typedef enum {
27− false,
28− true
29−} bool;
22+#include <stdbool.h>
3023
3124 typedef enum {
3225 BO_BIG_ENDIAN,