]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/var.c
Add the updated version of the the win32 pathname fix.
[bacula/bacula] / bacula / src / lib / var.c
index 14a59227c1a1e25030e369d759a46d9a3407616c..bc14891cb40e3713a856d1af8da97d9dd613193a 100644 (file)
 
  */
 
-#ifndef HAVE_WIN32
+#if !defined(HAVE_WIN32)
 #include "bacula.h"
 #if defined(HAVE_PCREPOSIX)
 #  include <pcreposix.h>
+#elif defined(HAVE_WIN32)
+#  include "bregex.h"
 #else
 #  include <regex.h>
 #endif
@@ -2716,4 +2718,4 @@ const char *var_strerror(var_t *var, var_rc_t rc)
     }
     return str;
 }
-#endif
+#endif /* !defined(HAVE_WIN32) */