#include <ccunit/config.h>
-#if WITH_DMALLOC
-# include <dmalloc.h>
-#endif
-
-#if STDC_HEADERS
+#if CCUNIT_STDC_HEADERS
#include <stdlib.h>
#include <string.h>
#endif
-#if HAVE_STDBOOL_H
+#if CCUNIT_WITH_DMALLOC
+# include <dmalloc.h>
+#endif
+
+#if CCUNIT_HAVE_STDBOOL_H
#include <stdbool.h>
#elif defined (__cplusplus)
+#elif CCUNIT_HAVE__BOOL
+#define bool _Bool /**< boolean */
+#define true ((bool)1) /**< true */
+#define false ((bool)0) /**< false */
#elif !defined (bool)
#define bool int /**< boolean */
#define true (1) /**< true */