Re: [xml] mingw, dll's, and globals.o
- From: Elizabeth Barham <soggytrousers yahoo com>
- To: xml gnome org
- Subject: Re: [xml] mingw, dll's, and globals.o
- Date: 02 Sep 2002 15:58:33 -0500
It was a matter of not having __declspec(dllexport) for the only
symbols that were having errors were the global DATA references.
If anyone's interested, I modified xmlwin32version.h:
#ifndef LIBXML_DLL_IMPORT
#if !defined(__MINGW32__)
#if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define LIBXML_DLL_IMPORT __declspec(dllimport)
#else
#define LIBXML_DLL_IMPORT
#endif
#endif
#endif
#ifndef LIBXML_DLL_IMPORT
#if defined(__MINGW32__) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define LIBXML_DLL_IMPORT __declspec(dllimport)
#else
#ifdef DLL_EXPORT
#define LIBXML_DLL_IMPORT __declspec(dllexport)
#else
#define LIBXML_DLL_IMPORT
#endif
#endif
#endif
Elizabeth
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]