From e53fa0c1106c67e8929042d1cea67002f99f4979 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sun, 14 May 2023 23:33:06 +0100 Subject: [PATCH] Fix Windows 11 build. --- external/regex/regex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/regex/regex.h b/external/regex/regex.h index 52b5fed..a84f6a9 100644 --- a/external/regex/regex.h +++ b/external/regex/regex.h @@ -208,7 +208,8 @@ typedef unsigned long int reg_syntax_t; some interfaces). When a regexp is compiled, the syntax used is stored in the pattern buffer, so changing this does not affect already-compiled regexps. */ -REGEX_VARIABLE_IMPEXP reg_syntax_t re_syntax_options; +//REGEX_VARIABLE_IMPEXP reg_syntax_t re_syntax_options; +extern reg_syntax_t re_syntax_options; /* Define combinations of the above bits for the standard possibilities. (The [[[ comments delimit what gets put into the Texinfo file, so