From: Edin Kadribasic Date: Fri, 25 Jul 2003 11:27:39 +0000 (+0000) Subject: Export symbols needed for shared extensions. X-Git-Tag: php-4.3.3RC2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5c49771df54bfa489079c9655e17753d271a2fe;p=php Export symbols needed for shared extensions. --- diff --git a/ext/xml/expat/xmlparse.c b/ext/xml/expat/xmlparse.c index 8ccc6cd188..f2de183346 100644 --- a/ext/xml/expat/xmlparse.c +++ b/ext/xml/expat/xmlparse.c @@ -9,7 +9,7 @@ #ifdef COMPILED_FROM_DSP #include "winconfig.h" -#define XMLPARSEAPI(type) type __cdecl +#define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl #include "expat.h" #undef XMLPARSEAPI diff --git a/main/php_compat.h b/main/php_compat.h index 4844b2a772..5a415d873d 100644 --- a/main/php_compat.h +++ b/main/php_compat.h @@ -97,4 +97,9 @@ #define XmlUtf8Encode php_XmlUtf8Encode #endif +#ifdef PHP_EXPORTS +#define PCRE_STATIC +#define XML_STATIC +#endif + #endif