Mercurial > hg > octave-shane > gnulib-hg
diff modules/stdbool @ 4110:632b6cf5063f
Module description.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 31 Dec 2002 13:46:30 +0000 |
parents | |
children | 3a0c83552f0e |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/modules/stdbool @@ -0,0 +1,29 @@ +Description: + +Files: +m4/stdbool.m4 + +Depends-on: + +configure.ac: +AC_HEADER_STDBOOL + +Makefile.am: + +Include: +#if HAVE_STDBOOL_H +# include <stdbool.h> +#else +# if ! HAVE__BOOL +# ifdef __cplusplus +typedef bool _Bool; +# else +typedef enum {false = 0, true = 1} _Bool; +# endif +# endif +# define bool _Bool +# define false 0 +# define true 1 +# define __bool_true_false_are_defined 1 +#endif +