Prefer std::regex over C regex_t

This commit is contained in:
Robin Gareus
2025-11-09 21:26:48 +01:00
parent bf154d0239
commit b3e4deb32f
3 changed files with 42 additions and 85 deletions

View File

@@ -1227,10 +1227,6 @@ int main () { int x = SFC_RF64_AUTO_DOWNGRADE; return 0; }
conf.env.append_value('LIB', 'uuid')
# needed for mingw64 packages, not harmful on normal mingw build
conf.env.append_value('LIB', 'intl')
conf.check_cc(function_name='regcomp', header_name='regex.h',
lib='regex', uselib_store="REGEX", define_name='HAVE_REGEX_H')
# TODO put this only where it is needed
conf.env.append_value('LIB', 'regex')
# TODO this should only be necessary for a debug build
conf.env.append_value('LIB', 'dbghelp')