mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Merge pull request #997 from Kirozen/patch-1
Add support for MinGW in base/fstream_path.h
This commit is contained in:
commit
36eb38a5e7
@ -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