X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fcharsetconverter.cpp;h=97ba59472dfe0d488439e51e6273d03094614afa;hb=0574a75431d98ed64c5cc6291600bb3759b399a6;hp=f6f73d4e0afe6ce152147b899e26f356c7c8cffb;hpb=bae54a5dae027ad0a6b0126ec9eeecd3bd2739eb;p=fms.git diff --git a/src/charsetconverter.cpp b/src/charsetconverter.cpp index f6f73d4..97ba594 100644 --- a/src/charsetconverter.cpp +++ b/src/charsetconverter.cpp @@ -48,7 +48,7 @@ const bool CharsetConverter::Convert(const std::string &input, std::string &outp { std::vector invec(input.begin(),input.end()); std::vector outvec(invec.size()*4,0); -#ifdef _WIN32 +#if defined(_WIN32) || defined(__APPLE__) || defined(__DARWIN__) const char *inptr=&invec[0]; #else char *inptr=&invec[0];