summaryrefslogtreecommitdiff
path: root/gcc/java/lex.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-07-18 17:18:55 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-07-18 17:18:55 +0000
commit6a65ea5be3974fda8ad750906ae553914f1c5f0b (patch)
treec730d43d82ddc3501070878cc145dfc13ced9f06 /gcc/java/lex.h
parentf91abfce7bf63f0071f10f2d07ef9e97561a5497 (diff)
downloadgcc-6a65ea5be3974fda8ad750906ae553914f1c5f0b.tar.gz
For PR java/2812:
* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H. * lex.c (java_new_lexer): Use ICONV_CONST. (java_read_char): Likewise. * Make-lang.in (jc1$(exeext)): Link against LIBICONV. (jv-scan$(exeext)): Likewise. From-SVN: r44120
Diffstat (limited to 'gcc/java/lex.h')
-rw-r--r--gcc/java/lex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index e9c47ded8de..e5d217deb1e 100644
--- a/gcc/java/lex.h
+++ b/gcc/java/lex.h
@@ -1,5 +1,5 @@
/* Language lexer definitions for the GNU compiler for the Java(TM) language.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Alexandre Petit-Bianco (apbianco@cygnus.com)
This file is part of GNU CC.
@@ -35,7 +35,7 @@ extern int lineno;
/* A Unicode character, as read from the input file */
typedef unsigned short unicode_t;
-#ifdef HAVE_ICONV_H
+#ifdef HAVE_ICONV
#include <iconv.h>
#endif /* HAVE_ICONV */