Re: [xml] [PATCH] always dllexport the singlethreaded variables

2018-09-04 Thread Michael Haubenwallner
On 08/31/2018 11:57 AM, Nick Wellnhofer wrote: > On 25/05/2018 17:46, Michael Haubenwallner wrote: >> 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 mul

Re: [xml] [PATCH] always dllexport the singlethreaded variables

2018-09-04 Thread Nick Wellnhofer
On 04/09/2018 11:00, Michael Haubenwallner wrote: Right now, LIBXML_THREAD_ENABLED is defined in xmlversion.h only if the *application* does enable threads OK, I thought that LIBXML_THREAD_ENABLED only depends on the configure switch, but it also depends on the following check in xmlversion.h: