| Index: mojo/public/c/system/buffer.h
|
| diff --git a/mojo/public/c/system/buffer.h b/mojo/public/c/system/buffer.h
|
| index 360832150f4adc947a892c1e094b3a7c05e87fb2..ab5734d7eb260fb3fe0ba5600ea3a1b89aa5f7b0 100644
|
| --- a/mojo/public/c/system/buffer.h
|
| +++ b/mojo/public/c/system/buffer.h
|
| @@ -38,7 +38,8 @@ const MojoCreateSharedBufferOptionsFlags
|
| ((MojoCreateSharedBufferOptionsFlags) 0)
|
| #endif
|
|
|
| -struct MojoCreateSharedBufferOptions {
|
| +MOJO_COMPILE_ASSERT(MOJO_ALIGNOF(int64_t) == 8, int64_t_has_weird_alignment);
|
| +struct MOJO_ALIGNAS(8) MojoCreateSharedBufferOptions {
|
| uint32_t struct_size;
|
| MojoCreateSharedBufferOptionsFlags flags;
|
| };
|
|
|