summaryrefslogtreecommitdiff
path: root/ext/soap/php_soap.h
diff options
context:
space:
mode:
authorAlan Knowles <alan_k@php.net>2003-03-14 02:08:30 +0000
committerAlan Knowles <alan_k@php.net>2003-03-14 02:08:30 +0000
commit0e2f675c873acaf4f2dc626db6764893622d4b1c (patch)
tree613c006e35e32b4ef3ef2688ac52a4a2199a8945 /ext/soap/php_soap.h
parentbd69062b140d8e35e98c739a82d6a7b7e0e81309 (diff)
downloadphp-git-0e2f675c873acaf4f2dc626db6764893622d4b1c.tar.gz
fixes to enable module building
Diffstat (limited to 'ext/soap/php_soap.h')
-rw-r--r--ext/soap/php_soap.h8
1 files changed, 8 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);