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 <gerald@pfeifer.com>

From-SVN: r90079
This commit is contained in:
Zack Weinberg 2004-11-04 20:35:08 +00:00 committed by Gerald Pfeifer
parent 106f5de5a5
commit 968e08d615
2 changed files with 11 additions and 1 deletions

View 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

View 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