From: Remi Collet Date: Wed, 18 Mar 2015 07:15:49 +0000 (+0100) Subject: fix build wih PHP 5.4 X-Git-Tag: RELEASE_2_4_1~1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=51443ce28ed92ddc3967757e981f5c9a2f784a8d fix build wih PHP 5.4 --- diff --git a/php_http_misc.h b/php_http_misc.h index 15daa96..a4f579d 100644 --- a/php_http_misc.h +++ b/php_http_misc.h @@ -155,6 +155,8 @@ static inline const char *php_http_locate_bin_eol(const char *bin, size_t len, i #endif #if PHP_VERSION_ID < 50500 +#undef SUCCESS +#undef FAILURE typedef enum { SUCCESS = 0, FAILURE = -1