[Threading] Add _WIN64 conditional version of ULONG_PTR.

`ULONG_PTR` is defined slightly differently on `_WIN64` builds.

rdar://113898653
This commit is contained in:
Alastair Houghton
2025-03-27 18:55:22 +00:00
parent bb8317ae19
commit 90946f03cd

View File

@@ -38,7 +38,11 @@ typedef int BOOL;
typedef unsigned long DWORD;
typedef long LONG;
typedef unsigned long ULONG;
#if defined(_WIN64)
typedef unsigned __int64 ULONG_PTR;
#else
typedef unsigned long ULONG_PTR;
#endif
typedef PVOID HANDLE;
typedef VOID(NTAPI *PFLS_CALLBACK_FUNCTION)(PVOID lpFlsData);