diff options
author | Russ Allbery <rra@stanford.edu> | 2010-02-21 17:45:55 -0800 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2010-02-21 17:45:55 -0800 |
commit | 60210334fa3dbd5dd168199063c6ee850d750d0c (patch) | |
tree | 31e832ba6788076075d38e20ffd27ebf09430407 /portable/stdbool.h | |
parent | e571a8eb96f42de5a114cf11ff1c3d63e5a8d301 (diff) |
Imported Upstream version 0.10
Diffstat (limited to 'portable/stdbool.h')
-rw-r--r-- | portable/stdbool.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/portable/stdbool.h b/portable/stdbool.h index 61dd8a1..bfbf4c4 100644 --- a/portable/stdbool.h +++ b/portable/stdbool.h @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * Portability wrapper around <stdbool.h>. * * Provides the bool and _Bool types and the true and false constants, @@ -16,7 +15,9 @@ #if HAVE_STDBOOL_H # include <stdbool.h> #else -# if !HAVE__BOOL +# if HAVE__BOOL +# define bool _Bool +# else # ifdef __cplusplus typedef bool _Bool; # elif _WIN32 |