+2004-11-04 Zack Weinberg <zack@codesourcery.com>
+ Gerald Pfeifer <gerald@pfeifer.com>
+
+ * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
+ as well.
+
2004-10-27 Zack Weinberg <zack@codesourcery.com>
PR 18075
2004-10-27 Zack Weinberg <zack@codesourcery.com>
PR 18075
#include "symtab.h"
#include "cpp-id-data.h"
#include "symtab.h"
#include "cpp-id-data.h"
-#if defined HAVE_ICONV_H && defined HAVE_ICONV
+#ifndef HAVE_ICONV_H
+#undef HAVE_ICONV
+#endif
+
+#if HAVE_ICONV
#include <iconv.h>
#else
#define HAVE_ICONV 0
#include <iconv.h>
#else
#define HAVE_ICONV 0