diff options
author | Marcus Brinkmann <[email protected]> | 2010-01-05 05:05:16 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2010-01-05 05:05:16 +0000 |
commit | 808e43c06f1480d748fc85506f0463e6bb0bd7fd (patch) | |
tree | c24d787a32a40e09483fa17ff2b3d98b2fcac5e4 /src | |
parent | 2010-01-05 Marcus Brinkmann <[email protected]> (diff) | |
download | libassuan-808e43c06f1480d748fc85506f0463e6bb0bd7fd.tar.gz libassuan-808e43c06f1480d748fc85506f0463e6bb0bd7fd.zip |
2010-01-05 Marcus Brinkmann <[email protected]>
* configure.ac (_DARWIN_C_SOURCE): Define on frapple.
Diffstat (limited to 'src')
-rw-r--r-- | src/assuan-uds.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/assuan-uds.c b/src/assuan-uds.c index 1a5dec7..ffa940a 100644 --- a/src/assuan-uds.c +++ b/src/assuan-uds.c @@ -45,7 +45,9 @@ #ifdef USE_DESCRIPTOR_PASSING /* Provide replacement for missing CMSG maccros. We assume that - size_t matches the alignment requirement. */ + size_t matches the alignment requirement. NOTE: This is not true + on Mac OS X, so be extra careful to define _DARWIN_C_SOURCE to get + those definitions instead of using these. */ #define MY_ALIGN(n) ((((n))+ sizeof(size_t)-1) & (size_t)~(sizeof(size_t)-1)) #ifndef CMSG_SPACE #define CMSG_SPACE(n) (MY_ALIGN(sizeof(struct cmsghdr)) + MY_ALIGN((n))) |