Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroModel committed Dec 7, 2024
1 parent 4573181 commit 4b3e4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fast_io_hosted/platforms/posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -837,10 +837,10 @@ inline int open_fd_from_handle(void *handle, open_mode md)
#else
#if defined(__DARWIN_C_LEVEL) || defined(__MSDOS__)
extern unsigned int my_posix_open_noexcept(const char *pathname, int flags) noexcept __asm__("_open");
extern unsigned int my_posix_open_noexcept(char const *pathname, int flags, struct mode_t mode) noexcept __asm__("_open");
extern unsigned int my_posix_open_noexcept(char const *pathname, int flags, mode_t mode) noexcept __asm__("_open");
#else
extern unsigned int my_posix_open_noexcept(const char *pathname, int flags) noexcept __asm__("open");
extern unsigned int my_posix_open_noexcept(char const *pathname, int flags, struct mode_t mode) noexcept __asm__("open");
extern unsigned int my_posix_open_noexcept(char const *pathname, int flags, mode_t mode) noexcept __asm__("open");
#endif

#if defined(__MSDOS__)
Expand Down

0 comments on commit 4b3e4f4

Please sign in to comment.