diff --git a/include/fast_io_hosted/process/process/posix.h b/include/fast_io_hosted/process/process/posix.h index 8a79c9f2..cc608b9f 100644 --- a/include/fast_io_hosted/process/process/posix.h +++ b/include/fast_io_hosted/process/process/posix.h @@ -9,13 +9,13 @@ namespace fast_io namespace posix { #if defined(__DARWIN_C_LEVEL) || defined(__MSDOS__) -extern int libc_faccessat(int dirfd, char const *pathname, int mode, int flags) noexcept __asm__("_faccessat"); +// extern int libc_faccessat(int dirfd, char const *pathname, int mode, int flags) noexcept __asm__("_faccessat"); extern int libc_fexecve(int fd, char *const *argv, char *const *envp) noexcept __asm__("_fexecve"); extern int libc_kill(pid_t pid, int sig) noexcept __asm__("_kill"); extern pid_t libc_vfork() noexcept __asm__("_vfork"); [[noreturn]] extern void libc_exit(int exit) noexcept __asm__("_exit"); #else -extern int libc_faccessat(int dirfd, char const *pathname, int mode, int flags) noexcept __asm__("faccessat"); +// extern int libc_faccessat(int dirfd, char const *pathname, int mode, int flags) noexcept __asm__("faccessat"); extern int libc_fexecve(int fd, char *const *argv, char *const *envp) noexcept __asm__("fexecve"); extern int libc_kill(pid_t pid, int sig) noexcept __asm__("kill"); extern pid_t libc_vfork() noexcept __asm__("vfork");