Skip to content

Commit 7327fe9

Browse files
AMDmi3Bertram25
authored andcommitted
FreeBSD-specific handling of iconv API is no longer needed
1 parent 299411e commit 7327fe9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/ustring.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static bool UTF8ToUTF16(const std::string& source, uint16_t *dest)
171171
return false;
172172
}
173173

174-
#if (defined(_LIBICONV_VERSION) && _LIBICONV_VERSION == 0x0109) || defined(__FreeBSD__)
174+
#if defined(_LIBICONV_VERSION) && _LIBICONV_VERSION == 0x0109
175175
// We are using an iconv API that uses const char*
176176
const char *sourceChar = source.c_str();
177177
#else

0 commit comments

Comments
 (0)