Po Lu wrote: > Both of your patches appear to work. Thanks for the confirmation. As you know, I'm using a Termux environment for testing on Android. This has only approximately, not exactly, the same include files and libc as what you are using when you compile with some Android NDK. Therefore I'm relying on your reports for the (few) portability problems that arise because of differences between Android API levels or between Android versions.
Bruno