Skip to content

bpo-41100: bugfix, arm64 Mac OS, missing #include <AvailabilityMacros.h> #21588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix a bug in getpath.c for arm64 Mac OS
Copy link
Contributor

Choose a reason for hiding this comment

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

I would rework that sentence as this is not only for ARM64 but x86_64 too:

Suggested change
fix a bug in getpath.c for arm64 Mac OS
Fixed a bug in `Modules/getpath.c` for macOS 11. Patch by Lawrence D'Anna.

1 change: 1 addition & 0 deletions Modules/getpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#ifdef __APPLE__
# include <mach-o/dyld.h>
# include <AvailabilityMacros.h>
#endif

/* Search in some common locations for the associated Python libraries.
Expand Down