From 9d50f3850240c30ff1bd36152da439a0ac91164d Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 18 Jul 2022 10:03:53 +0200 Subject: [PATCH] Fixes for _UNICODE macro on Visual Studio (#2513) Signed-off-by: Miguel Barro Co-authored-by: MiguelBarro <45819833+MiguelBarro@users.noreply.github.com> --- src/cpp/utils/StringMatching.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpp/utils/StringMatching.cpp b/src/cpp/utils/StringMatching.cpp index 2741d9c5c21..678432787e2 100644 --- a/src/cpp/utils/StringMatching.cpp +++ b/src/cpp/utils/StringMatching.cpp @@ -99,7 +99,7 @@ bool StringMatching::matchPattern( const char* pattern, const char* str) { - if (PathMatchSpec(str, pattern)) + if (PathMatchSpecA(str, pattern)) { return true; } @@ -110,11 +110,11 @@ bool StringMatching::matchString( const char* str1, const char* str2) { - if (PathMatchSpec(str1, str2)) + if (PathMatchSpecA(str1, str2)) { return true; } - if (PathMatchSpec(str2, str1)) + if (PathMatchSpecA(str2, str1)) { return true; }