1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Unconditionally include stdbool.h.

This commit is contained in:
Micah Cowan 2009-09-30 19:35:26 -07:00
parent 293795e0ef
commit 3648b91197
2 changed files with 6 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2009-09-30 Micah Cowan <micah@cowan.name>
* sysdep.h: Unconditionally include stdbool.h (gnulib has it for
systems that don't supply it.)
2009-09-24 Micah Cowan <micah@cowan.name>
* vms.c: Moved from vms/vms.c.

View File

@ -131,23 +131,8 @@ void *alloca (size_t);
# include "mswindows.h"
#endif
/* Provide support for C99-type boolean type "bool". This blurb comes
straight from the Autoconf 2.59 manual. */
#if HAVE_STDBOOL_H
/* Provided by gnulib on systems that don't have it: */
# include <stdbool.h>
#else
# if ! HAVE__BOOL
# ifdef __cplusplus
typedef bool _Bool;
# else
typedef unsigned char _Bool;
# endif
# endif
# define bool _Bool
# define false 0
# define true 1
# define __bool_true_false_are_defined 1
#endif
/* Needed for compilation under OS/2 and MSDOS */
#if defined(__EMX__) || defined(MSDOS)