diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/internal.h b/internal.h index ce4cc3c996..f57b6f9c81 100644 --- a/internal.h +++ b/internal.h @@ -23,6 +23,19 @@ extern "C" { #endif #endif +#ifdef HAVE_STDBOOL_H +# include <stdbool.h> +#endif + +#ifndef __bool_true_false_are_defined +# ifndef __cplusplus +# error :FIXME: You are the first one who use pre-C99 compiler. +# error :FIXME: Please add appropriate definition here. +# error :FIXME: This part is intentionally left undefined, +# error :FIXME: because the author no longer have such environment. +# endif +#endif + #define LIKELY(x) RB_LIKELY(x) #define UNLIKELY(x) RB_UNLIKELY(x) |