Commit 396053f8 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by ivoire
Browse files

Define ALIGN for OS/2.



CMSG_NXTHDR requires this.
Signed-off-by: ivoire's avatarRémi Duraffort <ivoire@videolan.org>
parent cc574345
......@@ -58,6 +58,11 @@ int rootwrap_bind (int, int, int, const struct sockaddr *, size_t);
# define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
#endif
#if defined(__OS2__) && !defined(ALIGN)
/* CMSG_NXTHDR requires this */
# define ALIGN(p) _ALIGN(p)
#endif
/**
* Receive a file descriptor from another process
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment