* dcrt0.cc (get_cygwin_startup_info): Fix comment.

* wincap.cc (wincapc::init): Always reset needs_count_in_si_lpres2 to
	false on non 64-bit systems.
This commit is contained in:
Corinna Vinschen
2006-12-05 13:16:24 +00:00
parent 301cd37dda
commit a83c59fbc3
3 changed files with 12 additions and 3 deletions

View File

@@ -927,6 +927,8 @@ wincapc::init ()
BOOL is_wow64_proc = FALSE;
if (IsWow64Process (GetCurrentProcess (), &is_wow64_proc))
wow64 = is_wow64_proc;
else
((wincaps *)this->caps)->needs_count_in_si_lpres2 = false;
__small_sprintf (osnam, "%s-%d.%d", os, version.dwMajorVersion,
version.dwMinorVersion);