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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user