summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-05-08 07:16:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-05-08 07:16:37 (GMT)
commit000e37c3c433f42bafc68eee78633da147734808 (patch)
tree1f9c9254bb873a91f14e3c48e8e35fa6f1a2f31b
parent5ad6f7a3a9190df03583ff9c0426a97e15a63ada (diff)
downloadcpython-000e37c3c433f42bafc68eee78633da147734808.zip
cpython-000e37c3c433f42bafc68eee78633da147734808.tar.gz
cpython-000e37c3c433f42bafc68eee78633da147734808.tar.bz2
Patch #551011: Fix compilation problems with Cygwin.
-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 9259a45..123b6e5 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