From: Zack Weinberg Date: Thu, 4 Nov 2004 20:35:08 +0000 (+0000) Subject: internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well. X-Git-Tag: releases/gcc-4.0.0~3425 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=968e08d615b03db2f3c8b5b6b40807240cc436da;p=thirdparty%2Fgcc.git internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well. * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well. Co-Authored-By: Gerald Pfeifer From-SVN: r90079 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 48f65270ac92..85fa04f70382 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2004-11-04 Zack Weinberg + Gerald Pfeifer + + * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H + as well. + 2004-10-27 Zack Weinberg PR 18075 diff --git a/libcpp/internal.h b/libcpp/internal.h index dc1e8fb3d655..15a3dfada9e5 100644 --- a/libcpp/internal.h +++ b/libcpp/internal.h @@ -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 #else #define HAVE_ICONV 0