Skip to content

Commit

Permalink
refs #146, fix mingw build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Mar 4, 2023
1 parent 6a94e84 commit e3341b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/filesystem_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -226,6 +227,7 @@ static bool isWow64Proc()
}
return bIsWow64 == TRUE;
}
#endif

static bool is_symlink_creation_supported()
{
Expand Down

0 comments on commit e3341b2

Please sign in to comment.