mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Threading] Add _WIN64 conditional version of ULONG_PTR.
`ULONG_PTR` is defined slightly differently on `_WIN64` builds. rdar://113898653
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user