Fix FSTREAM_PATH() for Unix-like systems

This commit is contained in:
David Capello 2015-05-27 20:03:43 -03:00
parent 26b170e67f
commit 4940b2bf3e

View File

@ -13,7 +13,7 @@
#ifdef _WIN32
#define FSTREAM_PATH(path) (base::from_utf8(path).c_str())
#else
#define FSTREAM_PATH(path) ((path).c_str())
#define FSTREAM_PATH(path) (std::string(path).c_str())
#endif
#endif