cvs: php4(PHP_4_3) /ext/xml/expat expat.h
| From: | Moriyoshi Koizumi | Date: | Tue, 11 Mar 2003 16:53:32 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/xml/expat expat.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19529@lists.php.net to get a copy of this message | ||
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