diff options
author | Lazaros Koromilas <lostd@2f30.org> | 2016-06-12 14:50:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-06-12 16:36:17 +0200 |
commit | b2b7974ba0496d9dbd8e5eb01997e9330f991fb8 (patch) | |
tree | 8c009f8a0bad1025164a62cedb62c7638fc87e33 | |
parent | f59ca9441663649297c80a74a320e512072d4500 (diff) |
util/WStringAPI: wcpcpy(3) is not yet supported on OpenBSD/NetBSD
Signed-off-by: Lazaros Koromilas <lostd@2f30.org>
-rw-r--r-- | src/util/WStringAPI.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/WStringAPI.hxx b/src/util/WStringAPI.hxx index e020ecd7f..c5aab37b6 100644 --- a/src/util/WStringAPI.hxx +++ b/src/util/WStringAPI.hxx @@ -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); |