From 34026070ab4d14c3968388ac9f70ba22d8243f7b Mon Sep 17 00:00:00 2001 From: halx99 Date: Fri, 14 May 2021 20:50:59 +0800 Subject: [PATCH] Fix warning [ci build] --- cocos/platform/CCPosixFileStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/platform/CCPosixFileStream.h b/cocos/platform/CCPosixFileStream.h index 136f52ad6b..43d793be83 100644 --- a/cocos/platform/CCPosixFileStream.h +++ b/cocos/platform/CCPosixFileStream.h @@ -40,7 +40,7 @@ #define posix_fd2fh(fd) reinterpret_cast(_get_osfhandle(fd)) #define posix_fsetsize(fd, size) ::_chsize(fd, size) #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_APPEND_FLAGS O_APPEND | O_CREAT | O_RDWR, S_IRWXU