commit 4ea0cc4608d44db7bf52b187bf744b71a1f6fc94 parent 5128c68fc490de2ba1a80b74ce2a810f835f4208 Author: Sebastian <sebastian@sebsite.pw> Date: Thu, 21 Apr 2022 15:47:55 -0400 rt: fix C macro comment __alignof__ is nonstandard; _Alignof is standard since C11. Signed-off-by: Sebastian <sebastian@sebsite.pw> Diffstat:
M | rt/+linux/types.ha | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha @@ -409,7 +409,7 @@ export type sigval = union { }; -//#define __ADDR_BND_PKEY_PAD (__alignof__(void *) < sizeof(short) ? sizeof(short) : __alignof__(void *)) +// #define __ADDR_BND_PKEY_PAD (_Alignof(void *) < sizeof(short) ? sizeof(short) : _Alignof(void *)) def __ADDR_BND_PKEY_PAD: size = 8; export type siginfo = union {