From 6dd899df22f336fe1faee5be414af9973e054656 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 23 Nov 2023 21:45:11 +0100 Subject: [ANDROID] This should fix Android build, again and again --- src/wrapped/wrappedlibrt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/wrapped/wrappedlibrt.c b/src/wrapped/wrappedlibrt.c index 16c6bc41..f54f62b7 100644 --- a/src/wrapped/wrappedlibrt.c +++ b/src/wrapped/wrappedlibrt.c @@ -125,27 +125,27 @@ EXPORT int mylio_listio(x64emu_t* emu, int mode, struct aiocb* list[], int nent, #else EXPORT int my_aio_cancel(x64emu_t emu, int fd, void* aiocbp) { - errno = ENNOSYS; + errno = ENOSYS; return -1; } EXPORT int my_aio_read(x64emu_t emu, void* aiocbp) { - errno = ENNOSYS; + errno = ENOSYS; return -1; } EXPORT int my_aio_read64(x64emu_t emu, void* aiocbp) { - errno = ENNOSYS; + errno = ENOSYS; return -1; } EXPORT int my_aio_write(x64emu_t emu, void* aiocbp) { - errno = ENNOSYS; + errno = ENOSYS; return -1; } EXPORT int my_aio_write64(x64emu_t emu, void* aiocbp) { - errno = ENNOSYS; + errno = ENOSYS; return -1; } EXPORT int mylio_listio(x64emu_t* emu, int mode, void* list[], int nent, struct sigevent* sig) -- cgit 1.4.1