diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-01-13 15:36:29 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-01-13 15:36:29 +0000 |
commit | 053d5eed93fac1dbd11a8e316b60d6849acc74fd (patch) | |
tree | f9f16687d2a509ec3e8089171a6fd2f73ff336e3 | |
parent | 71f98c4caa7ea253718fa6d5165af27feba2300c (diff) | |
download | newlib-053d5eed93fac1dbd11a8e316b60d6849acc74fd.zip newlib-053d5eed93fac1dbd11a8e316b60d6849acc74fd.tar.gz newlib-053d5eed93fac1dbd11a8e316b60d6849acc74fd.tar.bz2 |
* cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/cygcheck.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index cc87499..fb582ab 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,5 +1,9 @@ 2006-01-13 Corinna Vinschen <corinna@vinschen.de> + * cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE. + +2006-01-13 Corinna Vinschen <corinna@vinschen.de> + * cygcheck.cc (dump_sysinfo): Convert osname to const and remove casts in subsequent assignments. Recognize Longhorn/Vista and report as not yet supported. Recognize when running under WOW64 and report native diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index ad0946e..58c1a66 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -1137,7 +1137,7 @@ dump_sysinfo () osversion.dwPlatformId == VER_PLATFORM_WIN32_NT ? osversion.szCSDVersion : ""); - HINSTANCE k32 = LoadLibrary ("kernel32.dll"); + HMODULE k32 = LoadLibrary ("kernel32.dll"); BOOL (WINAPI *wow64_func) (HANDLE, PBOOL) = (BOOL (WINAPI *) (HANDLE, PBOOL)) GetProcAddress (k32, "IsWow64Process"); |