aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-base_numerics_safe__math__shared__impl.h
blob: 435eabe4b5a47f76d728faec0297e84665c2f60c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- base/numerics/safe_math_shared_impl.h.orig	2021-01-07 00:36:18 UTC
+++ base/numerics/safe_math_shared_impl.h
@@ -24,8 +24,7 @@
 // Where available use builtin math overflow support on Clang and GCC.
 #elif !defined(__native_client__) &&                         \
       ((defined(__clang__) &&                                \
-        ((__clang_major__ > 3) ||                            \
-         (__clang_major__ == 3 && __clang_minor__ >= 4))) || \
+        (__clang_major__ > 6)) ||                            \
        (defined(__GNUC__) && __GNUC__ >= 5))
 #include "base/numerics/safe_math_clang_gcc_impl.h"
 #define BASE_HAS_OPTIMIZED_SAFE_MATH (1)