Changeset 3757


Ignore:
Timestamp:
Mar 5, 2012, 2:25:47 AM (13 years ago)
Author:
bird
Message:

sys/socket.h: Use _ALIGN instead of ALIGN because of _NO_NAMESPACE_POLLUTION. Fixes #236.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/include/sys/socket.h

    r1739 r3757  
    388388            (mhdr)->msg_control + (mhdr)->msg_controllen) ? \
    389389            (struct cmsghdr *)NULL : \
    390             (struct cmsghdr *)((caddr_t)(cmsg) + ALIGN((cmsg)->cmsg_len)))
     390            (struct cmsghdr *)((caddr_t)(cmsg) + _ALIGN((cmsg)->cmsg_len)))
    391391
    392392#define CMSG_FIRSTHDR(mhdr)     ((struct cmsghdr *)(mhdr)->msg_control)
Note: See TracChangeset for help on using the changeset viewer.