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);