apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r592968 - /apr/apr/branches/1.2.x/include/arch/win32/apr_arch_misc.h
Date Thu, 08 Nov 2007 00:21:37 GMT
Author: wrowe
Date: Wed Nov  7 16:21:36 2007
New Revision: 592968

URL: http://svn.apache.org/viewvc?rev=592968&view=rev
Log:
Catch a flaw on Win32 x64 platforms

Backports: r592967

Modified:
    apr/apr/branches/1.2.x/include/arch/win32/apr_arch_misc.h

Modified: apr/apr/branches/1.2.x/include/arch/win32/apr_arch_misc.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/include/arch/win32/apr_arch_misc.h?rev=592968&r1=592967&r2=592968&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/include/arch/win32/apr_arch_misc.h (original)
+++ apr/apr/branches/1.2.x/include/arch/win32/apr_arch_misc.h Wed Nov  7 16:21:36 2007
@@ -291,16 +291,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, (



Mime
View raw message