You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/11/08 01:21:02 UTC
svn commit: r592967 - /apr/apr/trunk/include/arch/win32/apr_arch_misc.h
Author: wrowe
Date: Wed Nov 7 16:21:01 2007
New Revision: 592967
URL: http://svn.apache.org/viewvc?rev=592967&view=rev
Log:
Catch a flaw on Win32 x64 platforms
Modified:
apr/apr/trunk/include/arch/win32/apr_arch_misc.h
Modified: apr/apr/trunk/include/arch/win32/apr_arch_misc.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/win32/apr_arch_misc.h?rev=592967&r1=592966&r2=592967&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/win32/apr_arch_misc.h (original)
+++ apr/apr/trunk/include/arch/win32/apr_arch_misc.h Wed Nov 7 16:21:01 2007
@@ -348,16 +348,13 @@
(ReqRes, Acquire, pNewRes));
#define SetTimerResolution apr_winapi_NtSetTimerResolution
-/* ### These are ULONG_PTR values, but that's int32 for all we care
- * until the Win64 port is prepared.
- */
typedef struct PBI {
- DWORD ExitStatus;
- PVOID PebBaseAddress;
- ULONG AffinityMask;
- LONG BasePriority;
- ULONG UniqueProcessId;
- ULONG InheritedFromUniqueProcessId;
+ LONG ExitStatus;
+ PVOID PebBaseAddress;
+ ULONG_PTR AffinityMask;
+ LONG BasePriority;
+ ULONG_PTR UniqueProcessId;
+ ULONG_PTR InheritedFromUniqueProcessId;
} PBI, *PPBI;
APR_DECLARE_LATE_DLL_FUNC(DLL_NTDLL, DWORD, WINAPI, NtQueryInformationProcess, 0, (
@@ -381,4 +378,3 @@
#endif /* !defined(_WIN32_WCE) */
#endif /* ! MISC_H */
-