From 49721cbf1784cf374211eb3ebfa6b18a80392499 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 1 Feb 2021 17:04:50 +0100 Subject: [PATCH] Allow the build to pass in some Linux x86 --- src/sfizz/Messaging.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sfizz/Messaging.cpp b/src/sfizz/Messaging.cpp index f8d1d731..17d63081 100644 --- a/src/sfizz/Messaging.cpp +++ b/src/sfizz/Messaging.cpp @@ -10,11 +10,11 @@ #include #include -#ifdef __cplusplus +// ensure that `sfizz_arg_t` has the same storage characteristics as `int64_t` static_assert( - sizeof(sfizz_arg_t) == sizeof(int64_t) && alignof(sfizz_arg_t) == 8, + sizeof(sfizz_arg_t) == sizeof(int64_t) && + alignof(sfizz_arg_t) == alignof(int64_t), "The ABI stability check has failed."); -#endif template static T paddingSize(T count, unsigned align) {