fix build wih PHP 5.4
authorRemi Collet <remi@php.net>
Wed, 18 Mar 2015 07:15:49 +0000 (08:15 +0100)
committerRemi Collet <remi@php.net>
Wed, 18 Mar 2015 07:15:49 +0000 (08:15 +0100)
php_http_misc.h

index 15daa96eb2f6d34a26c0dad3ebcd011a67eb1412..a4f579d76c6e245b888fc838d0c551c5dd7f96de 100644 (file)
@@ -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