LibC: Replace [[gnu::aligned(16)]] with C++ standard alignas(16)

This commit is contained in:
Peter Ross 2022-03-02 08:34:56 +11:00 committed by Andreas Kling
parent 6c06b70911
commit 36af2fdc4f
Notes: sideshowbarker 2024-07-17 18:04:14 +09:00

View file

@ -69,7 +69,7 @@ struct ChunkedBlock : public CommonHeader {
size_t m_next_lazy_freelist_index { 0 };
FreelistEntry* m_freelist { nullptr };
size_t m_free_chunks { 0 };
[[gnu::aligned(16)]] unsigned char m_slot[0];
alignas(16) unsigned char m_slot[0];
void* chunk(size_t index)
{