GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-114099: Add preprocessor declarations to support compilation on iOS by freakboy3742 · Pull Request #115023 · python/cpython Conversation
|
| if (uid == 501) { | ||
| struct passwd mp; | ||
| mp.pw_name = "mobile"; | ||
| mp.pw_passwd = "/smx7MYTQIi2M"; |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I see it's easy enough to Google, but there should still be a comment explaining what this value is and where it comes from.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // iOS/tvOS/watchOS *define* some POSIX methods, | ||
| // but raise a compiler error if they are used. | ||
| #if TARGET_OS_IPHONE | ||
| # undef HAVE_GETGROUPS |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If it's a compiler error, as opposed to a runtime error, then autoconf should be able to detect the problem. The comment should explain why that wasn't sufficient.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // tvOS and watchOS don't provide a number of important POSIX functions. | ||
| #if TARGET_OS_TV || TARGET_OS_WATCH | ||
| # undef HAVE_SIGALTSTACK |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // iOS/tvOS/watchOS *define* some POSIX methods, | ||
| // but raise a compiler error if they are used. | ||
| #if TARGET_OS_IPHONE | ||
| # undef HAVE_GETENTROPY |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // iOS/tvOS/watchOS *define* clock_settime, but it can't be used | ||
| #if TARGET_OS_IPHONE | ||
| # undef HAVE_CLOCK_SETTIME |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Prompted by @mhsmith's review, I've dug deeper into how/why configure was incorrectly identifying these functions, and I I've got a cleaner approach for most of this patch. Closing on that basis. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.