Mercurial > hg > xemacs-beta
diff src/unexnt.c @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 501cfd01ee6d |
children | 697ef44129c6 |
line wrap: on
line diff
--- a/src/unexnt.c Mon Aug 13 11:18:12 2007 +0200 +++ b/src/unexnt.c Mon Aug 13 11:19:21 2007 +0200 @@ -103,13 +103,6 @@ PUCHAR bss_start = UNINIT_PTR; DWORD bss_size = UNINIT_LONG; -#ifdef HAVE_NTGUI -HINSTANCE hinst = NULL; -HINSTANCE hprevinst = NULL; -LPSTR lpCmdLine = ""; -int nCmdShow = 0; -#endif /* HAVE_NTGUI */ - /* Startup code for running on NT. When we are running as the dumped version, we need to bootstrap our heap and .bss section into our address space before we can actually hand off control to the startup @@ -163,7 +156,7 @@ hit and fix all the weirdities this causes us, the better --kkm */ #if 0 /* The default behavior is to treat files as binary and patch up - text files appropriately, in accordance with the MSDOS code. */ + text files appropriately. */ _fmode = O_BINARY; #endif @@ -173,14 +166,6 @@ SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE); #endif - /* Invoke the NT CRT startup routine now that our housecleaning - is finished. */ -#ifdef HAVE_NTGUI - /* determine WinMain args like crt0.c does */ - hinst = GetModuleHandle(NULL); - lpCmdLine = GetCommandLine(); - nCmdShow = SW_SHOWDEFAULT; -#endif mainCRTStartup (); }