mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Update fstream_path.h
Fix build on Windows with MinGW
This commit is contained in:
parent
1ee3efd91d
commit
c7968d4f2d
@ -11,7 +11,11 @@
|
||||
#include "base/string.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define FSTREAM_PATH(path) (base::from_utf8(path).c_str())
|
||||
#ifdef __MINGW32__
|
||||
#define FSTREAM_PATH(path) (std::string(path).c_str())
|
||||
#else
|
||||
#define FSTREAM_PATH(path) (base::from_utf8(path).c_str())
|
||||
#endif
|
||||
#else
|
||||
#define FSTREAM_PATH(path) (std::string(path).c_str())
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user