diff options
author | Brandon Sneed <nivenh@sourceware.org> | 2008-06-26 01:21:08 +0400 |
---|---|---|
committer | Brandon Sneed <nivenh@sourceware.org> | 2008-06-26 01:21:08 +0400 |
commit | 8b79fb163bf581fd8ad1d911fa62978c53f34916 (patch) | |
tree | a4dedccfdcd188c4698285f3d518612beeef981b /winsup/w32api | |
parent | 854c27dd8dc1b54e53291d671930c761eac46f8f (diff) |
2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota,
GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead
of 0x0502.
Bug reported by Thomas Denk.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index e5ba09bf1..a35405e5b 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,9 +1,17 @@ 2008-06-25 Brandon Sneed <nivenh@sourceware.org> + * include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota, + GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead + of 0x0502. + Bug reported by Thomas Denk. + +2008-06-25 Brandon Sneed <nivenh@sourceware.org> + * include/winbase.h (InterlockedIncrement, InterlockedDecrement, InterlockedCompareExchange, InterlockedExchange, InterlockedCompareExchangePointer, InterlockedExchangeAdd, InterlockedExchangePointer): Modified from PLONG to LONG volatile *. + Bug reported by Erik Blake. 2008-06-20 Danny Smith <dannysmith@users.sourceforge.net> diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 3d3790803..ba1bedc03 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1499,7 +1499,7 @@ WINBASEAPI BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR WINBASEAPI BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); WINBASEAPI FARPROC WINAPI GetProcAddress(HINSTANCE,LPCSTR); WINBASEAPI BOOL WINAPI GetProcessAffinityMask(HANDLE,PDWORD,PDWORD); -#if (_WIN32_WINNT >= 0x0502) +#if (_WIN32_WINNT >= 0x0501) WINBASEAPI BOOL WINAPI GetProcessHandleCount(HANDLE,PDWORD); #endif WINBASEAPI HANDLE WINAPI GetProcessHeap(VOID); @@ -1542,7 +1542,7 @@ WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT); WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT); WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO); WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); -#if (_WIN32_WINNT >= 0x0502) +#if (_WIN32_WINNT >= 0x0501) WINBASEAPI BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD); #endif WINBASEAPI VOID WINAPI GetSystemTime(LPSYSTEMTIME); @@ -1567,7 +1567,7 @@ WINBASEAPI UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR); WINBASEAPI DWORD WINAPI GetTempPathA(DWORD,LPSTR); WINBASEAPI DWORD WINAPI GetTempPathW(DWORD,LPWSTR); WINBASEAPI BOOL WINAPI GetThreadContext(HANDLE,LPCONTEXT); -#if (_WIN32_WINNT >= 0x0502) +#if (_WIN32_WINNT >= 0x0501) WINBASEAPI BOOL WINAPI GetThreadIOPendingFlag(HANDLE,PBOOL); #endif WINBASEAPI int WINAPI GetThreadPriority(HANDLE); |