From dc3fdf6eb4ff66455497fe903ec5d4279c640518 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 27 Jan 2023 13:14:26 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 505193224 --- ...863b622fe13612433fdf43f76547d5edda0c93001.diff | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/third_party/com_google_absl_f863b622fe13612433fdf43f76547d5edda0c93001.diff b/third_party/com_google_absl_f863b622fe13612433fdf43f76547d5edda0c93001.diff index 0cd2dffa..e46ae9f8 100644 --- a/third_party/com_google_absl_f863b622fe13612433fdf43f76547d5edda0c93001.diff +++ b/third_party/com_google_absl_f863b622fe13612433fdf43f76547d5edda0c93001.diff @@ -11,4 +11,17 @@ index 9fceffe..e7f9d01 100644 - ], ":ios": [ "-framework Foundation", - ], \ No newline at end of file + ], +diff --git a/absl/types/compare.h b/absl/types/compare.h +index 19b076e..0201004 100644 +--- a/absl/types/compare.h ++++ b/absl/types/compare.h +@@ -84,7 +84,7 @@ enum class ncmp : value_type { unordered = -127 }; + // based on whether the feature is supported. Note: we can't use + // ABSL_INTERNAL_INLINE_CONSTEXPR here because the variables here are of + // incomplete types so they need to be defined after the types are complete. +-#ifdef __cpp_inline_variables ++#if defined(__cpp_inline_variables) && !(defined(_MSC_VER) && _MSC_VER <= 1916) + + // A no-op expansion that can be followed by a semicolon at class level. + #define ABSL_COMPARE_INLINE_BASECLASS_DECL(name) static_assert(true, "") \ No newline at end of file