diff options
author | Michael Adam <obnox@samba.org> | 2014-05-31 12:04:05 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-02 22:48:12 +0200 |
commit | 86be491912811502fa29720128341f91a38266c1 (patch) | |
tree | 7743cdafe016115d04e009010ec0bf99e90f7245 /source3/wscript | |
parent | abedc7116e8a096398e3f8e07b03ba832088e014 (diff) | |
download | samba-86be491912811502fa29720128341f91a38266c1.tar.gz samba-86be491912811502fa29720128341f91a38266c1.tar.xz samba-86be491912811502fa29720128341f91a38266c1.zip |
build: rename HAVE_MSGHDR_MSG_CONTROL to HAVE_STRUCT_MSGHDR_MSG_CONTROL
So that we are consistent with the socket_wrapper define.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript index 3b38d19ae9..25dfa2e207 100644 --- a/source3/wscript +++ b/source3/wscript @@ -552,7 +552,7 @@ union { msg.msg_control = control_un.control; msg.msg_controllen = sizeof(control_un.control); ''', - 'HAVE_MSGHDR_MSG_CONTROL', + 'HAVE_STRUCT_MSGHDR_MSG_CONTROL', msg='Checking if we can use msg_control for passing file descriptors', headers='sys/types.h stdlib.h stddef.h sys/socket.h sys/un.h') conf.CHECK_CODE(''' @@ -1841,7 +1841,7 @@ main() { if conf.CONFIG_SET('HAVE_STATFS_F_FSID'): default_shared_modules.extend(TO_LIST('vfs_fileid')) - if (conf.CONFIG_SET('HAVE_MSGHDR_MSG_CONTROL') or conf.CONFIG_SET('HAVE_MSGHDR_MSG_ACCTRIGHTS')): + if (conf.CONFIG_SET('HAVE_STRUCT_MSGHDR_MSG_CONTROL') or conf.CONFIG_SET('HAVE_MSGHDR_MSG_ACCTRIGHTS')): default_shared_modules.extend(TO_LIST('vfs_aio_fork')) if Options.options.with_pthreadpool: |