From 38f3b6d7be62c53ba777712046fbcbcfe6d52a55 Mon Sep 17 00:00:00 2001 From: Oz Date: Sat, 14 Dec 2024 19:26:25 +0100 Subject: [PATCH] [Test] Fix fsutil tests --- tests/src/test_fsutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/test_fsutil.cpp b/tests/src/test_fsutil.cpp index b2ab6378..68bbad71 100644 --- a/tests/src/test_fsutil.cpp +++ b/tests/src/test_fsutil.cpp @@ -237,7 +237,7 @@ TEST_CASE( "fsutil: In-archive path computation", "[fsutil][in_archive_path]" ) #endif -#if defined( _WIN32 ) && defined( BIT7Z_AUTO_PREFIX_LONG_PATHS ) +#if defined( _WIN32 ) && defined( BIT7Z_AUTO_PREFIX_LONG_PATHS ) && !defined( BIT7Z_DISABLE_USE_STD_FILESYSTEM ) TEST_CASE( "fsutil: Format long Windows paths", "[fsutil][format_long_path]" ) { const std::wstring kLongPathPrefix = BIT7Z_NATIVE_STRING( R"(\\?\)" );