1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

update from Igor for Windows Daniel

* win32/dsp/* include/libxml/xmlwin32version.h.in: update
  from Igor for Windows
Daniel
This commit is contained in:
Daniel Veillard
2001-11-12 21:35:44 +00:00
parent 0135a3902d
commit 8e3943cbab
8 changed files with 1131 additions and 1079 deletions

View File

@ -144,11 +144,9 @@ extern void xmlCheckVersion(int version);
*
* Whether iconv support is available
*/
#if !defined(WIN32) || defined(__CYGWIN__)
#if 0
#define LIBXML_ICONV_ENABLED
#endif
#endif
/**
* LIBXML_DEBUG_ENABLED:
@ -207,6 +205,18 @@ extern void xmlCheckVersion(int version);
#define ATTRIBUTE_UNUSED
#endif
/**
* #pragma comment(lib, "iconv.lib")
*
* pragma understood my MS compiler which enables a conditional link with
* iconv.
*/
#ifdef _MSC_VER
#if defined LIBXML_ICONV_ENABLED && !defined LIBXML2_COMPILING_MSCCDEF
#pragma comment(lib, "iconv.lib")
#endif
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */