Commit b2b7974b authored by Lazaros Koromilas's avatar Lazaros Koromilas Committed by Max Kellermann

util/WStringAPI: wcpcpy(3) is not yet supported on OpenBSD/NetBSD

parent f59ca944
...@@ -101,7 +101,8 @@ gcc_nonnull_all ...@@ -101,7 +101,8 @@ gcc_nonnull_all
static inline wchar_t * static inline wchar_t *
UnsafeCopyStringP(wchar_t *dest, const wchar_t *src) UnsafeCopyStringP(wchar_t *dest, const wchar_t *src)
{ {
#if defined(WIN32) || defined(__BIONIC__) #if defined(WIN32) || defined(__BIONIC__) || defined(__OpenBSD__) || \
defined(__NetBSD__)
/* emulate wcpcpy() */ /* emulate wcpcpy() */
UnsafeCopyString(dest, src); UnsafeCopyString(dest, src);
return dest + StringLength(dest); return dest + StringLength(dest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment