diff --git a/.appveyor.yml b/.appveyor.yml index 8d43c6b..4e85641 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -47,12 +47,13 @@ init: install: - cmd: reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1" + - cmd: ren "C:\Program Files\Git\usr\bin\sh.exe" _sh.exe build_script: - mkdir build - cd build - if [%compiler%]==[msvc] cmake -G"%generator%" .. - - if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH:C:\Program Files (x86)\Git\bin;=% + - if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH% - if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_PREFIX_PATH=C:\mingw-w64\%toolchain% -DCMAKE_BUILD_TYPE=%configuration% .. - cmake --build . --config %configuration% diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index 34cf108..1e7e46e 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -212,7 +212,7 @@ inline bool isWow64Proc() bIsWow64 = FALSE; } } - return bIsWow64; + return bIsWow64 == TRUE; } static bool is_symlink_creation_supported()