aboutsummaryrefslogtreecommitdiffstats
path: root/xmlstub.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmlstub.h')
-rw-r--r--xmlstub.h4
1 files changed, 1 insertions, 3 deletions
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 <iconv.h>
#else
#define LIBXML_ICONV_DISABLED
#endif
-#endif
/*
* Whether Debugging module is configured in