X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_object.c;h=e69010c9b694407602d524bf7ab39aff51af5e2c;hp=c9505f6cb0f5a348bbc094eec378e09ad24f85b2;hb=562c9941215d5080452fd8686dba6c408cb8ddda;hpb=2b37ee95b452cff42c17bf3d12d0ee1ebd08ba84 diff --git a/http_message_object.c b/http_message_object.c index c9505f6..e69010c 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -31,9 +31,9 @@ #ifndef WONKY # include "zend_interfaces.h" -#endif -#ifdef HAVE_SPL -# include "ext/spl/spl_array.h" +# if defined(HAVE_SPL) +# include "ext/spl/spl_array.h" +# endif #endif ZEND_EXTERN_MODULE_GLOBALS(http); @@ -158,10 +158,6 @@ PHP_MINIT_FUNCTION(http_message_object) # else zend_class_implements(http_message_object_ce TSRMLS_CC, 1, zend_ce_serializable); # endif -#else -# ifdef HAVE_SPL - zend_class_implements(http_message_object_ce TSRMLS_CC, 1, spl_ce_Countable); -# endif #endif HTTP_LONG_CONSTANT("HTTP_MSG_NONE", HTTP_MSG_NONE);