[Python-Dev] Working on issue 23496: should I use a macro test or an edit to configure.ac? (original) (raw)

Ryan rymg19 at gmail.com
Fri Feb 27 04:13:08 CET 2015


Thank you so much!

Ryan Smith-Roberts <rmsr at lab.net> wrote:

On Thu, Feb 26, 2015 at 5:13 PM, Ryan Smith-Roberts <rmsr at lab.net> wrote:

I'm not an official cpython developer but ifdef ANDROID is quite in line with other per-platform support (FreeBSD, linux, etc), as well as already being in use in Modules/posixsubprocess.c. Is ANDROID not being defined when it should be? Might as well spend the time to answer my own question: Some Googling indicates that ANDROID is baked into the NDK toolchain, so it's definitely what one would use to wrap Android-specific code. "ANDROID shall always be defined by the toolchain, without a need for special flags though, so please rely on that instead in your code." - David Turner, Android NDK Lead, 2010.


Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com

-- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Check out my website: http://kirbyfan64.github.io/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150226/fbb69bbd/attachment.html>



More information about the Python-Dev mailing list