]> granicus.if.org Git - python/commitdiff
Patch #551011: Fix compilation problems with Cygwin.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 8 May 2002 07:16:37 +0000 (07:16 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 8 May 2002 07:16:37 +0000 (07:16 +0000)
Modules/expat/expat.h

index 9259a45486ea6d32cc57f6aafb496a8f6b1a4c94..123b6e566d9a364f3ee3ae4c3b91af6679f28917 100644 (file)
@@ -9,7 +9,7 @@ See the file COPYING for copying permission.
 #include <stdlib.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