summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-mojo_public_c_system_buffer.h
blob: 3aa39a1714651f8b153dc5a0e0999337a9783ded (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- mojo/public/c/system/buffer.h.orig	2019-03-19 09:06:10 UTC
+++ mojo/public/c/system/buffer.h
@@ -30,7 +30,7 @@ struct MOJO_ALIGNAS(8) MojoCreateSharedBufferOptions {
   // See |MojoCreateSharedBufferFlags|.
   MojoCreateSharedBufferFlags flags;
 };
-MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
+MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
 MOJO_STATIC_ASSERT(sizeof(MojoCreateSharedBufferOptions) == 8,
                    "MojoCreateSharedBufferOptions has wrong size");