From e3341b2f64126255efef7ecca1974a46b63033a7 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sat, 4 Mar 2023 12:03:12 +0100 Subject: [PATCH] refs #146, fix mingw build issue --- test/filesystem_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index 6b9801c..97af80c 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -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() {