mirror of
https://github.com/google/benchmark.git
synced 2024-11-27 20:44:27 +00:00
Fix a typo in regex choice (#1610)
BENCHMARK_HAVE_STD_REGEX is not used but HAVE_STD_REGEX like the other two choices, i.e. HAVE_GNU_POSIX_REGEX and HAVE_POSIX_REGEX. Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
This commit is contained in:
parent
df9a99d998
commit
b323288cba
2
src/re.h
2
src/re.h
|
@ -33,7 +33,7 @@
|
|||
// Prefer C regex libraries when compiling w/o exceptions so that we can
|
||||
// correctly report errors.
|
||||
#if defined(BENCHMARK_HAS_NO_EXCEPTIONS) && \
|
||||
defined(BENCHMARK_HAVE_STD_REGEX) && \
|
||||
defined(HAVE_STD_REGEX) && \
|
||||
(defined(HAVE_GNU_POSIX_REGEX) || defined(HAVE_POSIX_REGEX))
|
||||
#undef HAVE_STD_REGEX
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue