Skip to content

Commit

Permalink
FreeBSD-specific handling of iconv API is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 authored and Bertram25 committed Nov 24, 2019
1 parent 299411e commit 7327fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ustring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static bool UTF8ToUTF16(const std::string& source, uint16_t *dest)
return false;
}

#if (defined(_LIBICONV_VERSION) && _LIBICONV_VERSION == 0x0109) || defined(__FreeBSD__)
#if defined(_LIBICONV_VERSION) && _LIBICONV_VERSION == 0x0109
// We are using an iconv API that uses const char*
const char *sourceChar = source.c_str();
#else
Expand Down

0 comments on commit 7327fe9

Please sign in to comment.