[PATCH 2/5] Bionic lacks mempcpy; enable existing workaround
Matt Whitlock
busybox at mattwhitlock.name
Wed Apr 29 02:45:43 UTC 2015
(The attached patch subsumes the previous "Bionic lacks mempcpy; enable existing workaround".)
Bionic has been growing new features over the years, so platform.h should test the __ANDROID_API__ macro to determine which functions to polyfill.
Specifically:
* Bionic has supported fdprintf() since API level 8. This is a direct replacement for dprintf(). (The Bionic header chides Glibc for choosing the name "dprintf".)
* Bionic has supported ttyname_r(), getline(), and stpcpy() since API level 21.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-conditionally-undefine-feature-macros-depending-on-A.patch
Type: text/x-patch
Size: 1137 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20150428/42007a76/attachment.bin>
More information about the busybox
mailing list