Skip to content

Commit 43292e0

Browse files
authored
Update dos_at.h
1 parent 4d0009e commit 43292e0

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

  • include/fast_io_hosted/filesystem

include/fast_io_hosted/filesystem/dos_at.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,7 @@ inline void dos_symlinkat_impl(char const *oldpath, int newdirfd, char const *ne
141141
#if defined(FAST_IO_USE_DJGPP_SYMLINK)
142142
::fast_io::system_call_throw_error(::fast_io::posix::my_dos_symlink(oldpath, ::fast_io::details::my_dos_concat_tlc_path(newdirfd, newpath).c_str()));
143143
#else
144-
throw_posix_error(
145-
#ifdef ENOSYS
146-
ENOSYS
147-
#else
148-
27 // in i586-msdosdjgpp/include/errno.h
149-
#endif
150-
);
144+
throw_posix_error(ENOSYS);
151145
#endif
152146
}
153147

0 commit comments

Comments
 (0)