Skip to content

Commit e3341b2

Browse files
committed
refs #146, fix mingw build issue
1 parent 6a94e84 commit e3341b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/filesystem_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ static void generateFile(const fs::path& pathname, int withSize = -1)
214214
}
215215

216216
#ifdef GHC_OS_WINDOWS
217+
#if !defined(_WIN64) && defined(KEY_WOW64_64KEY)
217218
static bool isWow64Proc()
218219
{
219220
typedef BOOL(WINAPI * IsWow64Process_t)(HANDLE, PBOOL);
@@ -226,6 +227,7 @@ static bool isWow64Proc()
226227
}
227228
return bIsWow64 == TRUE;
228229
}
230+
#endif
229231

230232
static bool is_symlink_creation_supported()
231233
{

0 commit comments

Comments
 (0)