2019-09-12 15:28:51 +00:00
|
|
|
diff -up chromium-77.0.3865.75/base/numerics/safe_math_shared_impl.h.nogccoptmath chromium-77.0.3865.75/base/numerics/safe_math_shared_impl.h
|
2019-09-13 13:21:43 +00:00
|
|
|
--- chromium-77.0.3865.75/base/numerics/safe_math_shared_impl.h.nogccoptmath 2019-09-13 14:17:22.726738088 +0200
|
|
|
|
+++ chromium-77.0.3865.75/base/numerics/safe_math_shared_impl.h 2019-09-13 14:31:37.686898493 +0200
|
|
|
|
@@ -23,9 +23,8 @@
|
|
|
|
// Where available use builtin math overflow support on Clang and GCC.
|
2019-09-12 15:28:51 +00:00
|
|
|
#elif !defined(__native_client__) && \
|
|
|
|
((defined(__clang__) && \
|
2019-09-13 13:21:43 +00:00
|
|
|
- ((__clang_major__ > 3) || \
|
2019-09-12 15:28:51 +00:00
|
|
|
- (__clang_major__ == 3 && __clang_minor__ >= 4))) || \
|
|
|
|
- (defined(__GNUC__) && __GNUC__ >= 5))
|
2019-09-13 13:21:43 +00:00
|
|
|
+ (__clang_major__ > 3) || \
|
|
|
|
+ (__clang_major__ == 3 && __clang_minor__ >= 4)))
|
2019-09-12 15:28:51 +00:00
|
|
|
#include "base/numerics/safe_math_clang_gcc_impl.h"
|
|
|
|
#define BASE_HAS_OPTIMIZED_SAFE_MATH (1)
|
|
|
|
#else
|