diff options
author | Max Kellermann <max@musicpd.org> | 2017-12-16 20:50:53 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-12-16 20:56:06 +0100 |
commit | 6246d36fe6503e6bed3bca6aa5ca783c6188d76f (patch) | |
tree | 51521bbb43bc2bbbc34a14c393a0f65880aabbbc /src/util/WStringAPI.hxx | |
parent | fbc4bb29dcc471a08e47f10ffaa24ad8da6d40a2 (diff) | |
parent | f1ef9f9d31c71857db021029326715028a217906 (diff) |
Merge branch 'v0.20.x'
Diffstat (limited to 'src/util/WStringAPI.hxx')
-rw-r--r-- | src/util/WStringAPI.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/WStringAPI.hxx b/src/util/WStringAPI.hxx index 6ed788927..4d000dab1 100644 --- a/src/util/WStringAPI.hxx +++ b/src/util/WStringAPI.hxx @@ -101,7 +101,7 @@ gcc_nonnull_all static inline wchar_t * UnsafeCopyStringP(wchar_t *dest, const wchar_t *src) noexcept { -#if defined(WIN32) || defined(__BIONIC__) || defined(__OpenBSD__) || \ +#if defined(_WIN32) || defined(__BIONIC__) || defined(__OpenBSD__) || \ defined(__NetBSD__) /* emulate wcpcpy() */ UnsafeCopyString(dest, src); |