Author yan12125
Recipients skrah, vstinner, xdegaye, yan12125
Date 2017-02-03.17:00:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486141256.08.0.00132547085803.issue29436@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-02-03 17:00:56yan12125setrecipients: + yan12125, vstinner, skrah, xdegaye
2017-02-03 17:00:56yan12125setmessageid: <1486141256.08.0.00132547085803.issue29436@psf.upfronthosting.co.za>
2017-02-03 17:00:56yan12125linkissue29436 messages
2017-02-03 17:00:56yan12125create