aboutsummaryrefslogtreecommitdiff
path: root/src/FileUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileUtil.cpp')
-rw-r--r--src/FileUtil.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/FileUtil.cpp b/src/FileUtil.cpp
index e29ed36..222edbb 100644
--- a/src/FileUtil.cpp
+++ b/src/FileUtil.cpp
@@ -32,7 +32,16 @@ static int makedir(const _tinydir_char_t *dir)
namespace sibs
{
#if OS_FAMILY == OS_FAMILY_POSIX
-#define toUtf8(input) input
+ std::string toUtf8(const std::string &input)
+ {
+ return input;
+ }
+
+ std::string toUtf8(const char *input)
+ {
+ return input;
+ }
+
FileString toFileString(const std::string &utf8Str)
{
return utf8Str;