Blame options-old.patch

dd016b
Make the headers always tell the truth about the ABI of the compiled dll's
dd016b
to avoid mysterious linker errors when using wrong C++ version in compiler.
dd016b
This version of the patch is for old systems where the system compiler does not use C++17.
dd016b
For more information, see “notice for package managers” in options.h
dd016b
dd016b
--- a/absl/base/options.h	2021-11-03 16:26:14.000000000 +0100
dd016b
+++ b/absl/base/options.h	2022-06-28 22:49:52.830727200 +0200
dd016b
@@ -100,7 +100,7 @@
dd016b
 // User code should not inspect this macro.  To check in the preprocessor if
dd016b
 // absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_ANY 2
dd016b
+#define ABSL_OPTION_USE_STD_ANY 0
dd016b
 
dd016b
 
dd016b
 // ABSL_OPTION_USE_STD_OPTIONAL
dd016b
@@ -127,7 +127,7 @@
dd016b
 // absl::optional is a typedef of std::optional, use the feature macro
dd016b
 // ABSL_USES_STD_OPTIONAL.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_OPTIONAL 2
dd016b
+#define ABSL_OPTION_USE_STD_OPTIONAL 0
dd016b
 
dd016b
 
dd016b
 // ABSL_OPTION_USE_STD_STRING_VIEW
dd016b
@@ -154,7 +154,7 @@
dd016b
 // absl::string_view is a typedef of std::string_view, use the feature macro
dd016b
 // ABSL_USES_STD_STRING_VIEW.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_STRING_VIEW 2
dd016b
+#define ABSL_OPTION_USE_STD_STRING_VIEW 0
dd016b
 
dd016b
 // ABSL_OPTION_USE_STD_VARIANT
dd016b
 //
dd016b
@@ -180,7 +180,7 @@
dd016b
 // absl::variant is a typedef of std::variant, use the feature macro
dd016b
 // ABSL_USES_STD_VARIANT.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_VARIANT 2
dd016b
+#define ABSL_OPTION_USE_STD_VARIANT 0
dd016b
 
dd016b
 
dd016b
 // ABSL_OPTION_USE_INLINE_NAMESPACE