max_align_t: apply alignof to 'long double' for long double alignment

Reviewed by;	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D53826
This commit is contained in:
Konstantin Belousov
2025-11-19 16:51:54 +02:00
parent 3612ef642f
commit 39cad8402d
+1 -1
View File
@@ -183,7 +183,7 @@ typedef struct {
__attribute__((__aligned__(__alignof__(long long))));
#ifndef _STANDALONE
long double __max_align2
__attribute__((__aligned__(__alignof__(long long))));
__attribute__((__aligned__(__alignof__(long double))));
#endif
} __max_align_t;