diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-06 09:23:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-06 08:23:10 +0200 |
commit | d2f6d0ba1e362522438d78374715485daae10919 (patch) | |
tree | ab1b8bb9ef8fc845cbb326bd5df18f4965c76f3e /source3/include | |
parent | bbc1b0c9853322da10483f72c020fe0dd83b28fa (diff) | |
download | samba-d2f6d0ba1e362522438d78374715485daae10919.tar.gz samba-d2f6d0ba1e362522438d78374715485daae10919.tar.bz2 samba-d2f6d0ba1e362522438d78374715485daae10919.zip |
build: Rationalise AIO support in configure, ensure on by default
With this change, the define to check for AIO is HAVE_AIO, consistant
with other subsystems.
It is now also on by default in the autoconf build, as it has been for waf.
Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index f25d1c2fcf..cb60dd2152 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -149,7 +149,7 @@ #include <netgroup.h> #endif -#if defined(HAVE_AIO_H) && defined(WITH_AIO) +#if defined(HAVE_AIO_H) && defined(HAVE_AIO) #include <aio.h> #endif @@ -343,7 +343,7 @@ typedef struct stat_ex SMB_STRUCT_STAT; */ #ifndef SMB_STRUCT_AIOCB -# if defined(WITH_AIO) +# if defined(HAVE_AIO) # define SMB_STRUCT_AIOCB struct aiocb # else # define SMB_STRUCT_AIOCB int /* AIO not being used but we still need the define.... */ |