bpo-29619: Do not rely on HAVE_LARGEFILE_SUPPORT for the size of type…#1666
bpo-29619: Do not rely on HAVE_LARGEFILE_SUPPORT for the size of type…#1666xdegaye merged 3 commits into
Conversation
vstinner
left a comment
There was a problem hiding this comment.
I think that compilers are smart enough to computes the check at compile time, and so remove the dead code. I mean, I like your change. I just ask minor changes.
Sorry, something went wrong.
It is nice to know, thanks 😄 |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM, thanks for the fix Xavier.
Sorry, something went wrong.
|
Thank you Xavier for taking care of Android :-)
|
Sorry, something went wrong.
|
Shouldn't this get backported to 3.6 after the backport #584 broke 3.6 so that 3.6.2 unfortunately does not compile on Android? |
Sorry, something went wrong.
|
My understanding is that, Android not being a supported platform, changes that are specific to Android are only made to the master branch. I may be wrong. |
Sorry, something went wrong.
|
My fault then. Thought 3.6 was targeting Android but that's not actually stated anywhere (There are some Android specific things in the 3.6 changelog though). |
Sorry, something went wrong.
|
IMHO this change is simple enough to justify a backport: I created the PR #3102. While 3.6 doesn't fully support Android, we are doing our best support Android and any kind of help is welcome! |
Sorry, something went wrong.
|
Encountered this issue while compiling PyQt5 for RaspberryPi/ARM with Python 3.6.2. Copying e.g.: |
Sorry, something went wrong.
|
@thijstriemstra: Cool! Good to know. I hope that slowly, we will get a release with a correct Android support. Thanks @xdegaye for the long term effort on supporting Android! |
Sorry, something went wrong.
…s not off_t.