Re: [xml] undefined reference to `_imp__xmlFree' error on mingw with msys for 2.6.5
- From: Igor Zlatkovic <igor zlatkovic com>
- To: Mikhail S Grushinskiy <mgrushinskiy comcast net>
- Cc: xml gnome org
- Subject: Re: [xml] undefined reference to `_imp__xmlFree' error on mingw with msys for 2.6.5
- Date: Mon, 02 Feb 2004 11:35:02 +0100
Igor Zlatkovic wrote:
#if defined(_WIN32) && defined(__MINGW32__)
#define XMLPUBFUN
#ifdef __cplusplus
#define XMLPUBVAR extern
#else
#define XMLPUBVAR
#endif
#if !defined _REENTRANT
#define _REENTRANT
#endif
#endif
Sorry, that was crap. Here is a better one:
/* 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]