Fix warning [ci build]

This commit is contained in:
halx99 2021-05-14 20:50:59 +08:00
parent d8d8ebdd50
commit 34026070ab
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
#define posix_fd2fh(fd) reinterpret_cast<HANDLE>(_get_osfhandle(fd)) #define posix_fd2fh(fd) reinterpret_cast<HANDLE>(_get_osfhandle(fd))
#define posix_fsetsize(fd, size) ::_chsize(fd, size) #define posix_fsetsize(fd, size) ::_chsize(fd, size)
#else #else
#define O_READ_FLAGS O_RDONLY, S_IRUSR #define O_READ_FLAGS O_RDONLY
#define O_WRITE_FLAGS O_CREAT | O_RDWR | O_TRUNC, S_IRWXU #define O_WRITE_FLAGS O_CREAT | O_RDWR | O_TRUNC, S_IRWXU
#define O_APPEND_FLAGS O_APPEND | O_CREAT | O_RDWR, S_IRWXU #define O_APPEND_FLAGS O_APPEND | O_CREAT | O_RDWR, S_IRWXU