diff options
author | Mike Klein <mtklein@chromium.org> | 2018-06-08 16:17:03 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-08 20:58:04 +0000 |
commit | f32fe567105031d1e823f22755cf8fc0add4e1f6 (patch) | |
tree | 039b737e9fec36f717f9f9a32e1b1f9fdc99d72b /include | |
parent | 27dddae3130c8a6cfaa845195b2fb95cc691dd26 (diff) |
see if we can remove this hack
Change-Id: I3bb010375c8693c7d6bf726d895cf9878211d4d8
Reviewed-on: https://skia-review.googlesource.com/133585
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkTypes.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index b91d8b5592..0185a6845d 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h @@ -9,23 +9,6 @@ #define SkTypes_DEFINED // IWYU pragma: begin_exports - -// In at least two known scenarios when using GCC with libc++: -// * GCC 4.8 targeting ARMv7 with NEON -// * GCC 4.9 targeting ARMv8 64 bit -// we need to typedef float float32_t (or include <arm_neon.h> which does that) -// before #including <memory>. This makes no sense. I'm not very interested in -// understanding why... these are old, bizarre platform configuration that we -// should just let die. -// See https://llvm.org/bugs/show_bug.cgi?id=25608 . -#include <ciso646> // Include something innocuous to define _LIBCPP_VERISON if it's libc++. -#if defined(__GNUC__) && __GNUC__ == 4 \ - && ((defined(__arm__) && (defined(__ARM_NEON__) || defined(__ARM_NEON))) || defined(__aarch64__)) \ - && defined(_LIBCPP_VERSION) - typedef float float32_t; - #include <memory> -#endif - #include "SkPreConfig.h" #include "SkUserConfig.h" #include "SkPostConfig.h" |