diff options
Diffstat (limited to 'ext/soap')
-rw-r--r-- | ext/soap/php_soap.h | 4 | ||||
-rw-r--r-- | ext/soap/soap.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h index 02b734cd3c..ea3b54ce4d 100644 --- a/ext/soap/php_soap.h +++ b/ext/soap/php_soap.h @@ -35,9 +35,7 @@ #include <libxml/parser.h> #include <libxml/xpath.h> -#ifndef PHP_HAVE_STREAMS -# error You lose - must be compiled against PHP 4.3.0 or later -#endif +#define PHP_SOAP_VERSION PHP_VERSION #ifndef PHP_WIN32 # define TRUE 1 diff --git a/ext/soap/soap.c b/ext/soap/soap.c index ccfb951333..ec4a5fd4c4 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -460,7 +460,7 @@ zend_module_entry soap_module_entry = { NULL, PHP_MINFO(soap), #ifdef STANDARD_MODULE_HEADER - NO_VERSION_YET, + PHP_SOAP_VERSION, #endif STANDARD_MODULE_PROPERTIES, }; |