Skip to content
Closed
Changes from 1 commit
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
Next Next commit
bugfix, arm64 Mac OS, missing #include <AvailabilityMacros.h>
MAC_OS_X_VERSION_MAX_ALLOWED is defined in this header.   Because it is
not included nsexeclength is defined as the wrong type, causing an
incompatible pointer to be passed to _NSGetExecutablePath
  • Loading branch information
lawrence-danna-apple committed Jul 21, 2020
commit 9a116163d91cd8d5a0b7d6c653d33a258ce5126b
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