diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-06 06:02:07 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-06 06:02:07 +0000 |
commit | 476d2f769e6bf008b07f5130ca68a4930434d996 (patch) | |
tree | beaf76484e399d4a6aa9e4d200ecfe6fe924e231 /lib/Support/Windows/PathV2.inc | |
parent | 753cbbbd3ce28253f381caff83ce2a7f6e08785b (diff) |
Support/Windows: Make MinGW happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/PathV2.inc')
-rw-r--r-- | lib/Support/Windows/PathV2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index 49343dc616..c724607453 100644 --- a/lib/Support/Windows/PathV2.inc +++ b/lib/Support/Windows/PathV2.inc @@ -118,7 +118,7 @@ namespace { return ::CryptReleaseContext(Provider, 0); } - typedef ScopedHandle<HCRYPTPROV, HCRYPTPROV(INVALID_HANDLE_VALUE), + typedef ScopedHandle<HCRYPTPROV, uintptr_t(-1), BOOL (WINAPI*)(HCRYPTPROV), CryptReleaseContext> ScopedCryptContext; bool is_separator(const wchar_t value) { |