moriyoshi Tue Mar 11 11:53:32 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/xml/expat expat.h
Log:
Fixed bug #22634 (broken cygwin build)
Index: php4/ext/xml/expat/expat.h
diff -u php4/ext/xml/expat/expat.h:1.3 php4/ext/xml/expat/expat.h:1.3.8.1
--- php4/ext/xml/expat/expat.h:1.3 Wed Sep 26 20:29:34 2001
+++ php4/ext/xml/expat/expat.h Tue Mar 11 11:53:28 2003
@@ -10,7 +10,7 @@
#include "php_compat.h"
#ifndef XMLPARSEAPI
-# if defined(__declspec) && !defined(__BEOS__)
+# if defined(__declspec) && !defined(__BEOS__) && !defined(__CYGWIN__)
# define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
# else
# define XMLPARSEAPI(type) type
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php