summaryrefslogtreecommitdiff
path: root/Modules/expat
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-05-08 07:16:37 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-05-08 07:16:37 +0000
commit000e37c3c433f42bafc68eee78633da147734808 (patch)
tree1f9c9254bb873a91f14e3c48e8e35fa6f1a2f31b /Modules/expat
parent5ad6f7a3a9190df03583ff9c0426a97e15a63ada (diff)
downloadcpython-git-000e37c3c433f42bafc68eee78633da147734808.tar.gz
Patch #551011: Fix compilation problems with Cygwin.
Diffstat (limited to 'Modules/expat')
-rw-r--r--Modules/expat/expat.h2
1 files changed, 1 insertions, 1 deletions
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 <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