]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/socket-util.h
tree-wide: replace __alignof__() with alignof()
[thirdparty/systemd.git] / src / basic / socket-util.h
index 00c2998adb4b74093dc2ec828bbd9790d454b846..d6d63a4f339a0366620269ff4ecf781682d1aaa3 100644 (file)
@@ -184,7 +184,7 @@ int flush_accept(int fd);
 #define CMSG_TYPED_DATA(cmsg, type)                                     \
         ({                                                              \
                 struct cmsghdr *_cmsg = (cmsg);                         \
-                assert_cc(__alignof__(type) <= __alignof__(struct cmsghdr)); \
+                assert_cc(alignof(type) <= alignof(struct cmsghdr));    \
                 _cmsg ? CAST_ALIGN_PTR(type, CMSG_DATA(_cmsg)) : (type*) NULL; \
         })