Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Use bool from stdbool.h after switching to C99
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb3rt committed Feb 8, 2013
1 parent b3f3bc2 commit e810072
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions types.h
Expand Up @@ -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,
Expand Down

0 comments on commit e810072

Please sign in to comment.