diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-20 13:31:23 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-20 13:31:23 +0200 |
commit | 0dfb27b7e541cb27583c7d98560aad7e65a3480d (patch) | |
tree | 5bf87133c9f28425ffcc2c19fdf45b932bbb921f | |
parent | 735f62be0c27ce570eb984d288a9a1638f63e108 (diff) |
util/StringAPI: stpcpy() was added in Bionic API level 21
-rw-r--r-- | src/util/StringAPI.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/StringAPI.hxx b/src/util/StringAPI.hxx index b8b68938d..b25284006 100644 --- a/src/util/StringAPI.hxx +++ b/src/util/StringAPI.hxx @@ -118,7 +118,7 @@ gcc_returns_nonnull gcc_nonnull_all static inline char * UnsafeCopyStringP(char *dest, const char *src) noexcept { -#if defined(_WIN32) || defined(__BIONIC__) +#if defined(_WIN32) /* emulate stpcpy() */ UnsafeCopyString(dest, src); return dest + StringLength(dest); |