mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 23:49:06 +08:00
600378d3fc
- [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md) - [X] SHA512s are updated for each updated download - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [ ] ~Any patches that are no longer applied are deleted from the port's directory.~ - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file.
14 lines
627 B
Diff
14 lines
627 B
Diff
diff --git a/include/scn/detail/pp_detect.h b/include/scn/detail/pp_detect.h
|
|
index e8c5081..2002559 100644
|
|
--- a/include/scn/detail/pp_detect.h
|
|
+++ b/include/scn/detail/pp_detect.h
|
|
@@ -527,7 +527,7 @@
|
|
// (2021-09-29 is the date of the commit introducing `multiline`,
|
|
// libstdc++ doesn't support checking for minor versions)
|
|
#if SCN_STDLIB_LIBCPP >= 15000 || SCN_STDLIB_GLIBCXX >= 12 || \
|
|
- (SCN_STDLIB_GLIBCXX == 11 && __GLIBCXX__ >= 20210929L)
|
|
+ (SCN_STDLIB_GLIBCXX == 11 && SCN_GCC_COMPAT_MINOR >= 4 && __GLIBCXX__ >= 20210929L)
|
|
#define SCN_HAS_STD_REGEX_MULTILINE 1
|
|
#else
|
|
#define SCN_HAS_STD_REGEX_MULTILINE 0
|