On Mon, 2012-03-26 at 10:01 +0100, Andrew Haley wrote:
> On 03/25/2012 05:08 PM, Gerald Pfeifer wrote:
> > 2012-03-25 Gerald Pfeifer <ger...@pfeifer.com>
> >
> > PR libgcj/52694
> > * java/io/natVMConsole.cc (IUCLC): Define, if undefined.
>
> Sure. WTF is IUCLC anyway? :-)
(map) Input (characters) UpperCase (to) Lower Case.
It is a non-posix termios extension.
patch should also go into upstream classpath.
--- Begin Message ---
This has been introduced by
2012-03-16 Andrew John Hughes <ahug...@redhat.com>
* Makefile.am: Add natVMConsole.cc.
:
* java/io/VMConsole.h: Initial generation.
* java/io/VMConsole.java: Copied from classpath/vm/reference.
* java/io/natVMConsole.cc: Implemented readPassword.
where now bootstrap on FreeBSD, Darwin and possibly others is broken.
Tested on amd64-unknown-freebsd8.3. Okay?
Gerald
2012-03-25 Gerald Pfeifer <ger...@pfeifer.com>
PR libgcj/52694
* java/io/natVMConsole.cc (IUCLC): Define, if undefined.
Index: java/io/natVMConsole.cc
===================================================================
--- java/io/natVMConsole.cc (revision 185766)
+++ java/io/natVMConsole.cc (working copy)
@@ -19,6 +19,10 @@
#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)
--- End Message ---