From: Alan Knowles Date: Fri, 14 Mar 2003 02:08:30 +0000 (+0000) Subject: fixes to enable module building X-Git-Tag: RELEASE_0_5~480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e2f675c873acaf4f2dc626db6764893622d4b1c;p=php fixes to enable module building --- diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h index fb09934bc2..9475e3207e 100644 --- a/ext/soap/php_soap.h +++ b/ext/soap/php_soap.h @@ -142,6 +142,14 @@ ZEND_BEGIN_MODULE_GLOBALS(soap) HashTable *overrides; int cur_uniq_ns; ZEND_END_MODULE_GLOBALS(soap) +#ifdef PHP_WIN32 +#define PHP_SOAP_API __declspec(dllexport) +#else +#define PHP_SOAP_API +#endif +#ifdef ZTS +#include "TSRM.h" +#endif ZEND_EXTERN_MODULE_GLOBALS(soap); diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 6531269601..a349503d86 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "php_soap.h" int le_sdl = 0;