Commit 7b0a342c authored by Oleg Korshul's avatar Oleg Korshul

.

parent 3d01b078
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
#include <windows.h> #include <windows.h>
#endif #endif
#define U_TO_UTF8(val) NSFile::CUtf8Converter::GetUtf8StringFromUnicode2(val.c_str(), val.length()) #define U_TO_UTF8(val) NSFile::CUtf8Converter::GetUtf8StringFromUnicode2(val.c_str(), (LONG)val.length())
#define UTF8_TO_U(val) NSFile::CUtf8Converter::GetUnicodeStringFromUTF8((BYTE*)val.c_str(), (LONG)val.length())
#if defined(__linux__) || defined(_MAC) && !defined(_IOS) #if defined(__linux__) || defined(_MAC) && !defined(_IOS)
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment