]> git.ipfire.org Git - thirdparty/squid.git/commit
Portability: aio.h suffers from GCC-specific hacks on Linux 64-bit
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Apr 2011 11:59:10 +0000 (05:59 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Apr 2011 11:59:10 +0000 (05:59 -0600)
commit86e20726c1e84dde576854b28c1912367753ca8a
treea813f8ff190ff31a4a571f17b315ec3ef8a95b2e
parentea4e2ee4730df611359371c96dcb4b3a5113778c
Portability: aio.h suffers from GCC-specific hacks on Linux 64-bit

64-bit file support on 32-bit systems uses GCC-specific #define to convert
the functions to 64-bit API but omits the struct aiocb passed as paremeter.

GCC seems not to mind, but non-GCC compilers barf on the invalid types.
src/DiskIO/AIO/async_io.h