diff options
| author | Alan Knowles <alan_k@php.net> | 2003-03-14 02:08:30 +0000 |
|---|---|---|
| committer | Alan Knowles <alan_k@php.net> | 2003-03-14 02:08:30 +0000 |
| commit | 0e2f675c873acaf4f2dc626db6764893622d4b1c (patch) | |
| tree | 613c006e35e32b4ef3ef2688ac52a4a2199a8945 | |
| parent | bd69062b140d8e35e98c739a82d6a7b7e0e81309 (diff) | |
| download | php-git-0e2f675c873acaf4f2dc626db6764893622d4b1c.tar.gz | |
fixes to enable module building
| -rw-r--r-- | ext/soap/php_soap.h | 8 | ||||
| -rw-r--r-- | ext/soap/soap.c | 3 |
2 files changed, 11 insertions, 0 deletions
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; |
