diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-02 10:01:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-02 10:01:00 +0000 |
commit | f1b98e60bcd6614ade2fc9d28da7f4b7636e4aed (patch) | |
tree | fa5faeded02ee5843d3dff1d79dc45c8b31a2d0e /xmlstub.h | |
parent | 4ce74359eb0d2c56bba24b888b2912d9dd2e3123 (diff) |
Don't assume that all UNIX platforms have <iconv.h> - 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".
svn path=/trunk/; revision=4124
Diffstat (limited to 'xmlstub.h')
-rw-r--r-- | xmlstub.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |