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)