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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to