◐ Shell
clean mode source ↗

[3.14] gh-91048: Correct Apple platform includes for iOS. (GH-134712) by miss-islington · Pull Request #134714 · python/cpython

…4712)

Correct Apple platform includes for iOS.
(cherry picked from commit 965662e)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>

This was referenced

May 26, 2025

@freakboy3742

@bedevere-bot

freakboy3742

mhsmith

#endif

#if defined(__APPLE__) && TARGET_OS_OSX
#if defined(__APPLE__) && defined(TARGET_OS_OSX) && TARGET_OS_OSX

Choose a reason for hiding this comment

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

For future reference, this is unnecessary, as undefined preprocessor symbols are always treated as if they have the value 0.