]> granicus.if.org Git - php/commitdiff
Fixed bug #22634 (broken cygwin build)
authorMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 11 Mar 2003 16:53:28 +0000 (16:53 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 11 Mar 2003 16:53:28 +0000 (16:53 +0000)
ext/xml/expat/expat.h

index 7114c0c220634d28ae7699e4cb917978f0bc8fff..868a795c5a24498b28e2dd27a9961c47711cd573 100644 (file)
@@ -10,7 +10,7 @@ See the file COPYING for copying permission.
 #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