<html><head></head><body>Thank you so much!<br><br><div class="gmail_quote">Ryan Smith-Roberts <rmsr@lab.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On Thu, Feb 26, 2015 at 5:13 PM, Ryan Smith-Roberts <rmsr@lab.net> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> I'm not an official cpython developer but ifdef __ANDROID__ is quite in line<br /> with other per-platform support (__FreeBSD__, __linux__, etc), as well as<br /> already being in use in Modules/_posixsubprocess.c. Is __ANDROID__ not being<br /> defined when it should be?<br /></blockquote><br />Might as well spend the time to answer my own question:<br /><br />Some Googling indicates that __ANDROID__ is baked into the NDK<br />toolchain, so it's definitely what one would use to wrap<br />Android-specific code.<br /><br />"__ANDROID__ shall always be defined by the toolchain, without a need<br />for special flags though, so please rely on that instead in your<br />code." - David Turner, Android NDK Lead, 2010.<br /><hr /><br />Python-Dev mailing list<br
/>Python-Dev@python.org<br /><a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a><br />Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com">https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.<br>
Check out my website: <a href="http://kirbyfan64.github.io/">http://kirbyfan64.github.io/</a></body></html>