src/regex_parser.h

changeset 75
ba4bc497c6a7
parent 66
be2084398c37
child 76
d11c154e33e1
--- a/src/regex_parser.h	Tue Oct 10 20:34:51 2023 +0200
+++ b/src/regex_parser.h	Sun Nov 10 13:09:54 2024 +0100
@@ -31,8 +31,13 @@
 
 #include <sys/types.h>
 #include <stdbool.h>
+#include "string_list.h"
+
+#ifdef _MSC_VER
+#include "pcreposix.h"
+#else
 #include <regex.h>
-#include "string_list.h"
+#endif
 
 typedef struct {
   string_list_t* pattern_list; /* even entries: start ; odd entries: end */

mercurial