change sopen_s to wsopen_s (fmtlib#3234) (#3293)

This commit is contained in:
Froster
2023-02-17 03:17:55 +08:00
committed by GitHub
parent e03753c4ac
commit b5c2f74f45
5 changed files with 38 additions and 16 deletions
+5
View File
@@ -337,6 +337,11 @@ class FMT_API file {
// Creates a buffered_file object associated with this file and detaches
// this file object from the file.
buffered_file fdopen(const char* mode);
# if defined(_WIN32) && !defined(__MINGW32__)
// Opens a file and constructs a file object representing this file by wcstring_view filename. Windows only.
static file open_windows_file(wcstring_view path, int oflag);
#endif
};
// Returns the memory page size.