summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/ChangeLog8
-rw-r--r--winsup/w32api/include/winbase.h6
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);