diff options
| author | Brad Smith <brad@comstyle.com> | 2023-04-25 01:22:05 -0400 |
|---|---|---|
| committer | Brad Smith <brad@comstyle.com> | 2023-04-25 01:22:05 -0400 |
| commit | c9bbb12c2e96e5efc042ddd445df70513ffe485e (patch) | |
| tree | b4637d418e819042afb9f56321abace260b99b1c /Source/Core/Common/StringUtil.cpp | |
| parent | ba150a68247290e2e0fc8c82393241d9f1995717 (diff) | |
Fix build of iconv code on OpenBSD
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 113d7b781a..af81e2b84b 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -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 |
