From: Eric Bollengier Date: Wed, 14 Sep 2022 13:37:23 +0000 (+0200) Subject: Fix windows compilation issue X-Git-Tag: Beta-15.0.0~508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a049d95b899517e4956ebbe45e4a8f03f7c668ff;p=thirdparty%2Fbacula.git Fix windows compilation issue --- diff --git a/bacula/src/baconfig.h b/bacula/src/baconfig.h index 957c15420..0431d7b42 100644 --- a/bacula/src/baconfig.h +++ b/bacula/src/baconfig.h @@ -593,7 +593,7 @@ void t_msg(const char *file, int line, int64_t level, const char *fmt,...); /* Helper macro e.g. for comparison of file patch with allowed directory * On Linux/Unix OSes, paths are case sensitive while on Windows it is not the case */ #ifdef HAVE_WIN32 -#define b_path_match strcasestr +#define b_path_match bstrcasestr #else #define b_path_match strstr #endif // HAVE_WIN32