summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-26 16:24:33 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-26 16:24:33 +0000
commit702897c30e7f6c847bf5031d37ab173297c43c70 (patch)
treecdd0bbee569f3d8a38b3646adc347831fc421e00 /libjava
parent7c2ed7d7f7183e4c8c30bd3d483e9ced00b92a18 (diff)
downloadgcc-702897c30e7f6c847bf5031d37ab173297c43c70.tar.gz
PR libgcj/52694
* java/io/natVMConsole.cc (IUCLC): Define, if undefined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/io/natVMConsole.cc4
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)