Skip to content
Closed
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
5 changes: 5 additions & 0 deletions Modules/_testexternalinspection.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

#if defined(__APPLE__)
# include <TargetConditionals.h>
// TARGET_OS_OSX is not defined by older macOS SDKs. It is always
// defined to 0 when targeting iOS.
# ifndef TARGET_OS_OSX
# define TARGET_OS_OSX 1
# endif
# if TARGET_OS_OSX
# include <libproc.h>
# include <mach-o/fat.h>
Expand Down