* init.cc (dll_entry): Move wincap.init call back from here...

* dcrt0.cc (dll_crt0_0): ...to here.
This commit is contained in:
Corinna Vinschen
2012-03-05 12:09:22 +00:00
parent 6cd8cb1dba
commit 292cd759a1
3 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
/* init.cc
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
This file is part of Cygwin.
@@ -74,7 +74,6 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
switch (reason)
{
case DLL_PROCESS_ATTACH:
wincap.init ();
init_console_handler (false);
cygwin_hmodule = (HMODULE) h;