From d2f6d0ba1e362522438d78374715485daae10919 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Jun 2012 09:23:22 +1000 Subject: 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 --- source3/include/includes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include') 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 #endif -#if defined(HAVE_AIO_H) && defined(WITH_AIO) +#if defined(HAVE_AIO_H) && defined(HAVE_AIO) #include #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.... */ -- cgit