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/lib/system.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib/system.c') diff --git a/source3/lib/system.c b/source3/lib/system.c index 8c1ae94e19..92596a8d72 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -1365,7 +1365,7 @@ int sys_get_number_of_cores(void) } #endif -#if defined(WITH_AIO) +#if defined(HAVE_AIO) /******************************************************************* An aio_read wrapper. @@ -1464,7 +1464,7 @@ int sys_aio_suspend(const SMB_STRUCT_AIOCB * const cblist[], int n, const struct return -1; #endif } -#else /* !WITH_AIO */ +#else /* !HAVE_AIO */ int sys_aio_read(SMB_STRUCT_AIOCB *aiocb) { @@ -1507,4 +1507,4 @@ int sys_aio_suspend(const SMB_STRUCT_AIOCB * const cblist[], int n, const struct errno = ENOSYS; return -1; } -#endif /* WITH_AIO */ +#endif /* HAVE_AIO */ -- cgit