mgrushinskiy comcast net wrote:
Igor,
Your latest suggestion fixes the problem on msys too.
Same should be done for libxslt libxslt/xsltexports.h libexslt/exsltexports.h
I hope it will be submitted to CVS before next release.
Thanks,
--MG
/* Windows platform with GNU compiler (Mingw) */
#if defined(_WIN32) && defined(__MINGW32__)
#undef XMLPUBVAR
#ifdef __cplusplus
#define XMLPUBVAR extern
#else
#define XMLPUBVAR
#endif
#if !defined _REENTRANT
#define _REENTRANT
#endif
#endif
Okay. I just remember some bug reports and posts claiming that part to be exactly as it was, saying it won't compile otherwise. However, I see it working. And I think that Cygwin should be treated the same, but that I cannot test.
I'll play with it a but more and commit if I find no showstoppers. Ciao, Igor