1 #include <shlib-compat.h>
3 #define aio_cancel64 XXX
8 extern __typeof (aio_cancel
) __new_aio_cancel
;
9 extern __typeof (aio_cancel
) __old_aio_cancel
;
11 #define __aio_cancel __new_aio_cancel
13 #include <rt/aio_cancel.c>
16 versioned_symbol (libc
, __new_aio_cancel
, aio_cancel
, GLIBC_2_34
);
17 versioned_symbol (libc
, __new_aio_cancel
, aio_cancel64
, GLIBC_2_34
);
18 #if OTHER_SHLIB_COMPAT (librt, GLIBC_2_3, GLIBC_2_34)
19 compat_symbol (librt
, __new_aio_cancel
, aio_cancel
, GLIBC_2_3
);
20 compat_symbol (librt
, __new_aio_cancel
, aio_cancel64
, GLIBC_2_3
);
23 #if OTHER_SHLIB_COMPAT (librt, GLIBC_2_1, GLIBC_2_3)
26 #define __aio_cancel __old_aio_cancel
29 #include <rt/aio_cancel.c>
32 compat_symbol (librt
, __old_aio_cancel
, aio_cancel
, GLIBC_2_1
);
33 compat_symbol (librt
, __old_aio_cancel
, aio_cancel64
, GLIBC_2_1
);