aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/abseil/string-view.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/abseil/string-view.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/abseil/string-view.patch')
-rw-r--r--vcpkg/ports/abseil/string-view.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/abseil/string-view.patch b/vcpkg/ports/abseil/string-view.patch
new file mode 100644
index 0000000..6853d77
--- /dev/null
+++ b/vcpkg/ports/abseil/string-view.patch
@@ -0,0 +1,13 @@
+diff --git a/absl/base/config.h b/absl/base/config.h
+index 1a9bc591..90a730f5 100644
+--- a/absl/base/config.h
++++ b/absl/base/config.h
+@@ -561,7 +561,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
+ #if !defined(ABSL_OPTION_USE_STD_STRING_VIEW)
+ #error options.h is misconfigured.
+ #elif ABSL_OPTION_USE_STD_STRING_VIEW == 0
+-#undef ABSL_USES_STD_STRING_VIEW
++#define ABSL_USES_STD_STRING_VIEW 1
+ #elif ABSL_OPTION_USE_STD_STRING_VIEW == 1 || \
+ ABSL_OPTION_USE_STD_STRING_VIEW == 2
+ #define ABSL_USES_STD_STRING_VIEW 1