aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2013-02-08 23:20:11 +0100
committerBert Münnich <be.muennich@gmail.com>2013-02-08 23:20:11 +0100
commite810072d71355ef68315f1c087168f290585c716 (patch)
treea1d752d11dbc1e8118f31bcf53111475cf2e7b8d /types.h
parentb3f3bc29a1031c88533d1bd9e09a36946ac2481c (diff)
Use bool from stdbool.h after switching to C99
Diffstat (limited to 'types.h')
-rw-r--r--types.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/types.h b/types.h
index ee871ef..1b15c73 100644
--- a/types.h
+++ b/types.h
@@ -19,14 +19,7 @@
#ifndef TYPES_H
#define TYPES_H
-#undef bool
-#undef false
-#undef true
-
-typedef enum {
- false,
- true
-} bool;
+#include <stdbool.h>
typedef enum {
BO_BIG_ENDIAN,