Message286878
Here's a copy of $ANDROID_NDK/sysroot/usr/include/langinfo.h. (/sysroot/ stores unified headers [1]) To use those headers correctly, packagers have to add -D__ANDROID_API__=XY to CPPFLAGS. On the other hand, __ANDROID_API_FUTURE__ is defined in $ANDROID_NDK/sysroot/usr/include/android/api-level.h:
/*
* Magic version number for a current development build, which has
* not yet turned into an official release.
*/
#ifndef __ANDROID_API_FUTURE__
#define __ANDROID_API_FUTURE__ 10000
#endif
As a result nl_langinfo() does not exist in all real API versions.
[1] https://android.googlesource.com/platform/ndk.git/+/master/docs/UnifiedHeaders.md |
|
Date |
User |
Action |
Args |
2017-02-03 17:00:56 | yan12125 | set | recipients:
+ yan12125, vstinner, skrah, xdegaye |
2017-02-03 17:00:56 | yan12125 | set | messageid: <1486141256.08.0.00132547085803.issue29436@psf.upfronthosting.co.za> |
2017-02-03 17:00:56 | yan12125 | link | issue29436 messages |
2017-02-03 17:00:56 | yan12125 | create | |
|