Skip to content

Commit

Permalink
Check if mach-o/utils.h is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 20, 2023
1 parent 9eadc90 commit feeca17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/mac/arch_utilities.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@
#include <string.h>

#ifdef __APPLE__
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 130000 || \
__IPHONE_OS_VERSION_MIN_REQUIRED >= 160000 || \
__TV_OS_VERSION_MIN_REQUIRED >= 160000
#include <mach-o/utils.h>
#endif
#endif

namespace {

Expand Down

0 comments on commit feeca17

Please sign in to comment.