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 15daa96..a4f579d 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