Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11793 from brad0/openbsd_iconv_build_fix
Fix build of iconv code on OpenBSD
  • Loading branch information
lioncash committed Apr 29, 2023
2 parents ad1240e + c9bbb12 commit d95a852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/StringUtil.cpp
Expand Up @@ -547,7 +547,7 @@ std::string CodeTo(const char* tocode, const char* fromcode, std::basic_string_v
while (src_bytes != 0)
{
size_t const iconv_result =
#if defined(__OpenBSD__) || defined(__NetBSD__)
#if defined(__NetBSD__)
iconv(conv_desc, reinterpret_cast<const char**>(&src_buffer), &src_bytes, &dst_buffer,
&dst_bytes);
#else
Expand Down

0 comments on commit d95a852

Please sign in to comment.