Skip to content

Conversation

@xdegaye
Copy link
Contributor

@xdegaye xdegaye commented Nov 21, 2017

The first NDK release to support Unified Headers is android-ndk-r14.

https://bugs.python.org/issue29040

The first NDK release to support Unified Headers is android-ndk-r14.
Include/pyport.h Outdated

#ifdef __ANDROID__
#include <android/api-level.h>
/* nl_langinfo() is declared as __INTRODUCED_IN_FUTURE in langinfo.h. */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be better as:

In NDK r14 nl_langinfo() is declared as __INTRODUCED_IN_FUTURE in langinfo.h.

As a side note, since NDK r15, nl_langinfo() is declared as __INTRODUCED_IN(26).

@xdegaye xdegaye merged commit c06c22e into python:master Nov 23, 2017
@xdegaye xdegaye deleted the bpo-29040 branch November 23, 2017 10:44
yan12125 added a commit to yan12125/python3-android that referenced this pull request Nov 24, 2017
xdegaye fixes the same problem with a simpler approach [1]. Not sure if
that will break applications on API 26 or not (Android O, Oreo)

[1] python/cpython#4492
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants