From 73dac01c15e55026ef057fcc0d08a8b77799a8bb Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 21 Sep 2023 11:08:16 +0800 Subject: [PATCH] Warning regarding PathMatchSpec() on Windows. --- src/map/scl/sclLiberty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/scl/sclLiberty.c b/src/map/scl/sclLiberty.c index 674f65549..3d62b68e5 100644 --- a/src/map/scl/sclLiberty.c +++ b/src/map/scl/sclLiberty.c @@ -83,7 +83,7 @@ struct Scl_Tree_t_ static inline int Scl_LibertyGlobMatch(const char * pattern, const char * string) { #ifdef _WIN32 - return PathMatchSpec(string, pattern); + return PathMatchSpec(string, pattern); // if the compiler complains, add "-lshlwapi" #else return fnmatch(pattern, string, 0) == 0; #endif