diff options
author | Thies C. Arntzen <thies@php.net> | 2000-06-06 14:13:35 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-06-06 14:13:35 +0000 |
commit | 11fabacc3c998456e334be142d558a0f0274bc65 (patch) | |
tree | 64d35e2dab7f3ad88f6aa73e5664f473e1a879b2 /ext/recode/php_recode.h | |
parent | 0e0f3eb0978b9a181a43363cbb251d02c05c2cc7 (diff) | |
download | php-git-11fabacc3c998456e334be142d558a0f0274bc65.tar.gz |
add check for stdbool.h
Diffstat (limited to 'ext/recode/php_recode.h')
-rw-r--r-- | ext/recode/php_recode.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/recode/php_recode.h b/ext/recode/php_recode.h index 6f506de696..e20494087b 100644 --- a/ext/recode/php_recode.h +++ b/ext/recode/php_recode.h @@ -45,7 +45,12 @@ */ #define HAVE_BROKEN_RECODE -#include <stdbool.h> +#ifdef HAVE_STDBOOL_H +# include <stdbool.h> +#else + typedef enum {false = 0, true = 1} bool; +#endif + #include <sys/types.h> #include <stdio.h> #include <recode.h> |