[xml] [PATCH] always dllexport the singlethreaded variables

2018-05-25 Thread Michael Haubenwallner
When an application using libxml2 does not enable multithreaded support for itself, we provide the singlethreaded variables, eventually tagged with dllimport. So even when we build the multithreaded libxml2, our singlethreaded variables still eventually need the dllexport tag. --- include/libxml/

[xml] [PATCH] really declare dllexport/dllimport for Cygwin

2018-05-25 Thread Michael Haubenwallner
Cygwin does not define _WIN32, but still requires dllexport/dllimport tags for when applications use the --disable-auto-import linker flag, probably set by the gl_WOE32_DLL autoconf macro in woe32-dll.m4 file. --- include/libxml/xmlexports.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-