From: Martin v. Löwis Date: Wed, 8 May 2002 07:16:37 +0000 (+0000) Subject: Patch #551011: Fix compilation problems with Cygwin. X-Git-Tag: v2.3c1~5710 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=000e37c3c433f42bafc68eee78633da147734808;p=python Patch #551011: Fix compilation problems with Cygwin. --- diff --git a/Modules/expat/expat.h b/Modules/expat/expat.h index 9259a45486..123b6e566d 100644 --- a/Modules/expat/expat.h +++ b/Modules/expat/expat.h @@ -9,7 +9,7 @@ See the file COPYING for copying permission. #include #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