diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-12-20 13:53:08 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-12-20 13:53:08 +0000 |
commit | 40b27fb86ec1304498081f8723828e960f508590 (patch) | |
tree | ad92a572238e7adafe5b3d50d381a700de791d68 /libxslt/xsltconfig.h.in | |
parent | c17e6895ef833a95542be24bef8c8b55fcdf77b2 (diff) | |
download | libxslt-40b27fb86ec1304498081f8723828e960f508590.tar.gz |
applied albert portability patch applied Igor patch for Windows Daniel
* configure.in: applied albert portability patch
* libxslt/libxslt.h libxslt/xslt.h libxslt/xsltconfig.h.in
libxslt/xsltutils.c libxslt/xsltwin32config.h.in win32/dsp/libxslt.def:
applied Igor patch for Windows
Daniel
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r-- | libxslt/xsltconfig.h.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in index 3ac02b58..a9e65643 100644 --- a/libxslt/xsltconfig.h.in +++ b/libxslt/xsltconfig.h.in @@ -97,8 +97,12 @@ extern "C" { * * This macro is used to declare PUBLIC variables for MSC on Windows */ -#if !defined(WIN32) || defined(__CYGWIN__) -#define LIBXSLT_PUBLIC +#if !defined LIBXSLT_PUBLIC +#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC +#define LIBXSLT_PUBLIC __declspec(dllimport) +#else +#define LIBXSLT_PUBLIC +#endif #endif #ifdef __cplusplus |