]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.
authorZack Weinberg <zack@codesourcery.com>
Thu, 4 Nov 2004 20:35:08 +0000 (20:35 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Thu, 4 Nov 2004 20:35:08 +0000 (20:35 +0000)
* internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
as well.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
From-SVN: r90079

libcpp/ChangeLog
libcpp/internal.h

index 48f65270ac92b045ab7bc1b6f9e03e15782d097e..85fa04f70382ae9f59e1f8410b424890c71a6408 100644 (file)
@@ -1,3 +1,9 @@
+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
index dc1e8fb3d65516523d3ca4ed2032714036eb0ec0..15a3dfada9e5fd08757f00d8738a91f2ea8188a8 100644 (file)
@@ -26,7 +26,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #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