summaryrefslogtreecommitdiff
path: root/libxslt/xsltconfig.h.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-01-17 09:43:36 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-01-17 09:43:36 +0000
commitfde4cdef0a921f3eaba25cdde9ffd886202927aa (patch)
tree6e64b3439aa028cb3d3c3e69643ac81f366665c2 /libxslt/xsltconfig.h.in
parentdc169b0e409ae65aac3e4214a3451cf8294521b6 (diff)
downloadlibxslt-fde4cdef0a921f3eaba25cdde9ffd886202927aa.tar.gz
applied Robert Collins patch for Cygwin support Daniel
* Makefile.am libexslt/common.c libexslt/date.c libexslt/exslt.c libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c libexslt/libexslt.h libexslt/math.c libexslt/saxon.c libexslt/sets.c libexslt/strings.c libxslt/libxslt.h libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c xsltproc/xsltproc.c: applied Robert Collins patch for Cygwin support Daniel
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r--libxslt/xsltconfig.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in
index a9e65643..2e3188b9 100644
--- a/libxslt/xsltconfig.h.in
+++ b/libxslt/xsltconfig.h.in
@@ -95,13 +95,13 @@ extern "C" {
/**
* LIBXSLT_PUBLIC:
*
- * This macro is used to declare PUBLIC variables for MSC on Windows
+ * This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows
*/
#if !defined LIBXSLT_PUBLIC
-#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
+#if (defined(__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
#define LIBXSLT_PUBLIC __declspec(dllimport)
#else
-#define LIBXSLT_PUBLIC
+#define LIBXSLT_PUBLIC
#endif
#endif