cvs: php-src(PHP_4_3) /ext/xml/expat xmlparse.c /main php_compat.h
| From: | Edin Kadribasic | Date: | Fri, 25 Jul 2003 11:27:39 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/xml/expat xmlparse.c /main php_compat.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22802@lists.php.net to get a copy of this message | ||
edink Fri Jul 25 07:27:39 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/xml/expat xmlparse.c
/php-src/main php_compat.h
Log:
Export symbols needed for shared extensions.
Index: php-src/ext/xml/expat/xmlparse.c
diff -u php-src/ext/xml/expat/xmlparse.c:1.4.10.1 php-src/ext/xml/expat/xmlparse.c:1.4.10.2
--- php-src/ext/xml/expat/xmlparse.c:1.4.10.1 Mon Jul 21 04:42:48 2003
+++ php-src/ext/xml/expat/xmlparse.c Fri Jul 25 07:27:39 2003
@@ -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
Index: php-src/main/php_compat.h
diff -u php-src/main/php_compat.h:1.11.4.3 php-src/main/php_compat.h:1.11.4.4
--- php-src/main/php_compat.h:1.11.4.3 Mon Jul 21 04:42:48 2003
+++ php-src/main/php_compat.h Fri Jul 25 07:27:39 2003
@@ -97,4 +97,9 @@
#define XmlUtf8Encode php_XmlUtf8Encode
#endif
+#ifdef PHP_EXPORTS
+#define PCRE_STATIC
+#define XML_STATIC
+#endif
+
#endif