diff --git a/lib/libc/arcmwdt/libc-hooks.c b/lib/libc/arcmwdt/libc-hooks.c index 60ff32fb744133..95a6b2f50e1c0e 100644 --- a/lib/libc/arcmwdt/libc-hooks.c +++ b/lib/libc/arcmwdt/libc-hooks.c @@ -62,7 +62,7 @@ static inline int z_vrfy_zephyr_write_stdout(const void *buf, int nbytes) #include #endif -#ifndef CONFIG_POSIX_API +#ifndef CONFIG_POSIX_DEVICE_IO_ALIAS_WRITE int _write(int fd, const char *buf, unsigned int nbytes) { ARG_UNUSED(fd);