diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/io/natVMConsole.cc | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b5f65ef18e6..1477f67d1aa 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2012-03-25 Gerald Pfeifer <gerald@pfeifer.com> + + PR libgcj/52694 + * java/io/natVMConsole.cc (IUCLC): Define, if undefined. + 2012-03-16 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: Add natVMConsole.cc. diff --git a/libjava/java/io/natVMConsole.cc b/libjava/java/io/natVMConsole.cc index 7bdc2cf681d..4007c863230 100644 --- a/libjava/java/io/natVMConsole.cc +++ b/libjava/java/io/natVMConsole.cc @@ -19,6 +19,10 @@ details. */ #include <java/io/Console.h> #include <java/io/VMConsole.h> +#ifndef IUCLC +#define IUCLC 0 +#endif + #define TERMIOS_ECHO_IFLAGS (IUCLC|IXON|IXOFF|IXANY) #define TERMIOS_ECHO_LFLAGS (ECHO|ECHOE|ECHOK|ECHONL|TOSTOP) |