module-profiler: handle undefined max_align_t

This commit is contained in:
Wim Taymans 2023-08-07 17:35:07 +02:00
parent 091b5497a3
commit c53d8ec3db

View file

@ -104,7 +104,11 @@ struct impl {
struct spa_source *flush_event;
unsigned int listening:1;
#ifdef max_align_t
alignas(max_align_t)
#else
alignas(64)
#endif
uint8_t flush[FLUSH_BUFFER + sizeof(struct spa_pod_struct)];
};