spa: fix test on 32 bit

Fixes #441
This commit is contained in:
Wim Taymans 2020-12-04 09:36:05 +01:00
parent 9818582abe
commit af8bb55762

View file

@ -27,7 +27,11 @@
static void test_abi(void)
{
#if defined(__x86_64__) && defined(__LP64__)
spa_assert(sizeof(struct spa_json) == 32);
#else
fprintf(stderr, "%zd\n", sizeof(struct spa_json));
#endif
}
#define TYPE_OBJECT 0