commit | e9f78b41c65a78400c22a1b79007b1b9e187a745 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Tue Nov 22 08:57:45 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Nov 28 15:40:23 2016 +0000 |
tree | 3cb9ebe104fd4242701286150d9b02d068f754f4 | |
parent | 6762dd6f73ec6a0bea0683175d1cf4568680bee4 [diff] [blame] |
Guard against buggy ucrt\math.h. BUG=666707 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5089 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Change-Id: I3bebfdf635d541d92fb84236f0f6fae2da39d691 Reviewed-on: https://skia-review.googlesource.com/5089 Reviewed-by: Bruce Dawson <brucedawson@google.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
diff --git a/include/private/SkFloatingPoint.h b/include/private/SkFloatingPoint.h index 6a6edf3..f3acf48 100644 --- a/include/private/SkFloatingPoint.h +++ b/include/private/SkFloatingPoint.h
@@ -11,8 +11,7 @@ #define SkFloatingPoint_DEFINED #include "SkTypes.h" - -#include <math.h> +#include "SkSafe_math.h" #include <float.h> #if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1