mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
refs #146, fix mingw build issue
This commit is contained in:
parent
6a94e84da4
commit
e3341b2f64
@ -214,6 +214,7 @@ static void generateFile(const fs::path& pathname, int withSize = -1)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef GHC_OS_WINDOWS
|
#ifdef GHC_OS_WINDOWS
|
||||||
|
#if !defined(_WIN64) && defined(KEY_WOW64_64KEY)
|
||||||
static bool isWow64Proc()
|
static bool isWow64Proc()
|
||||||
{
|
{
|
||||||
typedef BOOL(WINAPI * IsWow64Process_t)(HANDLE, PBOOL);
|
typedef BOOL(WINAPI * IsWow64Process_t)(HANDLE, PBOOL);
|
||||||
@ -226,6 +227,7 @@ static bool isWow64Proc()
|
|||||||
}
|
}
|
||||||
return bIsWow64 == TRUE;
|
return bIsWow64 == TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool is_symlink_creation_supported()
|
static bool is_symlink_creation_supported()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user