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/lib | |
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/lib')
-rw-r--r-- | source3/lib/system.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |