summaryrefslogtreecommitdiff
path: root/www/chromium/files/extra-patch-10
blob: f0ea2ae78236c427bab4335badf16bc0f4c00910 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/skia/src/core/SkSmallAllocator.h.orig	2017-02-01 20:16:14.715097000 +0100
+++ third_party/skia/src/core/SkSmallAllocator.h	2017-02-01 20:24:56.680605000 +0100
@@ -20,7 +20,7 @@
 // abstract type. The complication with max_align_t is that it is defined differently for
 // different builds.
 namespace {
-#if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC)
+#if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC) || defined(__FreeBSD__)
     // Use std::max_align_t for compiles that follow the standard.
     #include <cstddef>
     using SystemAlignment = std::max_align_t;