summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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