Comment out the AllocConsole() code for windows

Add WINDRES variable to NT 32-bit backend
release
U-C4\Administrator 2007-11-24 18:07:05 -06:00
parent dc76d551e0
commit b8ab6a8cb1
3 changed files with 7 additions and 6 deletions

View File

@ -4,5 +4,5 @@ DLL_SUFFIX=-nt
PLAF_DLL_OBJS += vm/os-windows-nt.o
PLAF_EXE_OBJS += vm/resources.o
PLAF_EXE_OBJS += vm/main-windows-nt.o
CFLAGS += -mwindows
#CFLAGS += -mwindows
include vm/Config.windows

View File

@ -1,2 +1,3 @@
WINDRES=windres
include vm/Config.windows.nt
include vm/Config.x86.32

View File

@ -91,14 +91,14 @@ void c_to_factor_toplevel(CELL quot)
void open_console(void)
{
/*
// Do this: http://www.cygwin.com/ml/cygwin/2007-11/msg00432.html
if(!console_open)
{
if(!AttachConsole(ATTACH_PARENT_PROCESS))
if(AttachConsole(ATTACH_PARENT_PROCESS) || AllocConsole())
{
if(AllocConsole())
console_open = true;
}
else
console_open = true;
}
}
*/
}