Commit d08bf5fa by Zack Weinberg Committed by Gerald Pfeifer

lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.

	* lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
	as well.

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

From-SVN: r90168
parent c37780f5
2004-11-06 Zack Weinberg <zack@codesourcery.com>
Gerald Pfeifer <gerald@pfeifer.com>
* lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
as well.
2004-11-02 Bryce McKinlay <mckinlay@redhat.com>
PR java/17265
......
......@@ -35,7 +35,11 @@ extern FILE *finput;
/* A Unicode character, as read from the input file */
typedef unsigned short unicode_t;
#if defined HAVE_ICONV_H && defined HAVE_ICONV
#ifndef HAVE_ICONV_H
#undef HAVE_ICONV
#endif
#if defined HAVE_ICONV
#include <iconv.h>
#endif /* HAVE_ICONV */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment