Browse files

Use bool from stdbool.h after switching to C99

  • Loading branch information...
1 parent b3f3bc2 commit e810072d71355ef68315f1c087168f290585c716 @muennich committed Feb 8, 2013
Showing with 1 addition and 8 deletions.
  1. +1 −8 types.h
View
9 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,

0 comments on commit e810072

Please sign in to comment.