Allow the build to pass in some Linux x86

This commit is contained in:
Jean Pierre Cimalando 2021-02-01 17:04:50 +01:00
parent 872bc69b1c
commit 49721cbf17

View file

@ -10,11 +10,11 @@
#include <type_traits>
#include <cstring>
#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 <class T>
static T paddingSize(T count, unsigned align) {