util/WStringAPI: wcpcpy(3) is not yet supported on OpenBSD/NetBSD
Signed-off-by: Lazaros Koromilas <lostd@2f30.org>
This commit is contained in:
parent
f59ca94416
commit
b2b7974ba0
@ -101,7 +101,8 @@ gcc_nonnull_all
|
||||
static inline wchar_t *
|
||||
UnsafeCopyStringP(wchar_t *dest, const wchar_t *src)
|
||||
{
|
||||
#if defined(WIN32) || defined(__BIONIC__)
|
||||
#if defined(WIN32) || defined(__BIONIC__) || defined(__OpenBSD__) || \
|
||||
defined(__NetBSD__)
|
||||
/* emulate wcpcpy() */
|
||||
UnsafeCopyString(dest, src);
|
||||
return dest + StringLength(dest);
|
||||
|
Loading…
Reference in New Issue
Block a user