]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix windows compilation issue
authorEric Bollengier <eric@baculasystems.com>
Wed, 14 Sep 2022 13:37:23 +0000 (15:37 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
bacula/src/baconfig.h

index 957c154202c33f9dcd53cfe9fbe1e40cac70bd0f..0431d7b425d392bccc0e434f64c2720358369365 100644 (file)
@@ -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