Re: [PATCH v25 0/7] MR2786: Add support for AF_UNIX sockets
18 Jun
2023
18 Jun
'23
4:18 a.m.
On Fri Jun 16 17:31:21 2023 +0000, Zebediah Figura wrote:
I don't think the {} construction is portable. We have offsetof() for this anyway. It's portable for C99 if I hadn't forgotten to include the `0` (and C23 as-is), but Wine does use C89. I'll replace it with an `offsetof()`.
It's worth noting that this entire initializer is only portable for C99 due to the use of designators. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_36048
916
Age (days ago)
916
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ally Sommers (@dropbear)