refs #146, fix mingw build issue

This commit is contained in:
Steffen Schuemann 2023-03-04 12:03:12 +01:00
parent 6a94e84da4
commit e3341b2f64

View File

@ -214,6 +214,7 @@ static void generateFile(const fs::path& pathname, int withSize = -1)
}
#ifdef GHC_OS_WINDOWS
#if !defined(_WIN64) && defined(KEY_WOW64_64KEY)
static bool isWow64Proc()
{
typedef BOOL(WINAPI * IsWow64Process_t)(HANDLE, PBOOL);
@ -226,6 +227,7 @@ static bool isWow64Proc()
}
return bIsWow64 == TRUE;
}
#endif
static bool is_symlink_creation_supported()
{