From 55e1692b8dff5cd982009967e382e76898ecb418 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 2 Nov 2001 10:01:00 +0000 Subject: Don't assume that all UNIX platforms have - explicitly check whether it's present. This puts HAVE_ICONV_H in the "config.h" file, so put in an entry for it in "config.h.win32" - an entry that doesn't define it - and get rid of the check for WIN32 in "xmlstub.h". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4124 f5534014-38df-0310-8fa8-9805f1628bb7 --- xmlstub.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xmlstub.h') diff --git a/xmlstub.h b/xmlstub.h index ee2a856670..99492717d9 100644 --- a/xmlstub.h +++ b/xmlstub.h @@ -97,14 +97,12 @@ extern void xmlCheckVersion(int version); /* * Whether iconv support is available */ -#ifndef WIN32 -#if 1 +#ifdef HAVE_ICONV_H #define LIBXML_ICONV_ENABLED #include #else #define LIBXML_ICONV_DISABLED #endif -#endif /* * Whether Debugging module is configured in -- cgit v1.2.3