mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 08:53:06 +08:00
Drop WX_NO_REGEX_ADVANCED and always define wxHAS_REGEX_ADVANCED
Using non-PCRE system regex library, which was the only build variant when wxHAS_REGEX_ADVANCED was not defined, is not supported any more, so simplify the code by not testing for it.
This commit is contained in:
@@ -901,12 +901,6 @@ typedef pid_t GPid;
|
||||
*/
|
||||
#undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY
|
||||
|
||||
/*
|
||||
* The built-in regex supports advanced REs in additional to POSIX's basic
|
||||
* and extended. Your system regex probably won't support this, and in this
|
||||
* case WX_NO_REGEX_ADVANCED should be defined.
|
||||
*/
|
||||
#undef WX_NO_REGEX_ADVANCED
|
||||
/*
|
||||
* On GNU systems use re_search instead of regexec, since the latter does a
|
||||
* strlen on the search text affecting the performance of some operations.
|
||||
|
||||
Reference in New Issue
Block a user