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

This commit is contained in:
Froster authored and GitHub committed 2023-02-16 11:17:55 -08:00
1 parent e03753c4ac
commit b5c2f74f45
5 files changed
+38 -16

No files matched your search

+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.