The base system is now required to be compatible with C99 and thus the
manual check/re-definition of bool can be dropped.
AC_CHECK_SIZEOF(long long)
AC_SYS_LARGEFILE
-AC_CHECK_TYPES(_Bool)
AC_CHECK_TYPE(uoff_t, [
have_uoff_t=yes
int rand_r(unsigned int*) __attribute__((deprecated("Do not use rand_r, use i_rand")));
#endif
-#ifndef __cplusplus
-#ifdef HAVE__BOOL
-typedef _Bool bool;
-#else
-typedef int bool;
-#endif
-#endif
-
#if defined (HAVE_UOFF_T)
/* native support */
#elif defined (UOFF_T_INT)
#ifdef HAVE_STDINT_H
# include <stdint.h> /* C99 int types, we mostly need uintmax_t */
#endif
+#ifndef __cplusplus
+# include <stdbool.h>
+#endif
#include "compat.h"
#include "macros.h"