X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstdbool.in.h;h=0c871ecc2d0a78099e04ab4539baf3fd45792ba7;hb=c459fa109c50148d5f84c3c57862526ea408f305;hp=924c8ff007fc5b8b438b231122ddddff63886036;hpb=8a73c1c5c8b04143c6583f2413cc46b0035a3384;p=gnulib.git diff --git a/lib/stdbool.in.h b/lib/stdbool.in.h index 924c8ff00..0c871ecc2 100644 --- a/lib/stdbool.in.h +++ b/lib/stdbool.in.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2003, 2006-2012 Free Software Foundation, Inc. +/* Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -68,6 +68,7 @@ #ifdef __cplusplus # define _Bool bool +# define bool bool #else # if defined __BEOS__ && !defined __HAIKU__ /* A compiler known to have 'bool'. */ @@ -114,8 +115,8 @@ typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; # endif # endif # endif +# define bool _Bool #endif -#define bool _Bool /* The other macros must be usable in preprocessor directives. */ #ifdef __cplusplus