*/
-#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
}
return str;
}
-#endif
+#endif /* !defined(HAVE_WIN32) */