diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-05 13:16:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-05 13:16:37 +0000 |
commit | 3af37a79817488619bdd8a1e618865a0ca8e6f19 (patch) | |
tree | 9549406daac51ffeac3a4e4d35af3397acf4e332 /winsup/cygwin/wincap.cc | |
parent | 2c36d592bace7c87156c974b119f5338b917f36b (diff) | |
download | newlib-3af37a79817488619bdd8a1e618865a0ca8e6f19.zip newlib-3af37a79817488619bdd8a1e618865a0ca8e6f19.tar.gz newlib-3af37a79817488619bdd8a1e618865a0ca8e6f19.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/cygwin/wincap.cc')
-rw-r--r-- | winsup/cygwin/wincap.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 3d1e61d..a8b94fc 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -901,6 +901,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); |