summaryrefslogtreecommitdiff
path: root/libexslt/exsltexports.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexslt/exsltexports.h')
-rw-r--r--libexslt/exsltexports.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexslt/exsltexports.h b/libexslt/exsltexports.h
index bead915c..eee82220 100644
--- a/libexslt/exsltexports.h
+++ b/libexslt/exsltexports.h
@@ -111,8 +111,8 @@
#endif
#endif
-/* Cygwin platform, GNU compiler */
-#if defined(_WIN32) && defined(__CYGWIN__)
+/* Cygwin platform (does not define _WIN32), GNU compiler */
+#if defined(__CYGWIN__)
#undef EXSLTPUBFUN
#undef EXSLTPUBVAR
#undef EXSLTCALL
@@ -124,7 +124,7 @@
#if !defined(LIBEXSLT_STATIC)
#define EXSLTPUBVAR __declspec(dllimport) extern
#else
- #define EXSLTPUBVAR
+ #define EXSLTPUBVAR extern
#endif
#endif
#define EXSLTCALL __cdecl