};
void org::ibex::plat::Win32::natPreInit() {
- if (org::ibex::util::Log::verbose) {
+ // Win32 throws stderr in the trash unless you designate your binary as a "console binary"
+ if (org::ibex::util::Log::logstream == java::lang::System::err) {
AllocConsole();
freopen("CONOUT$", "w+t", stderr);
}