Skip to content

Commit

Permalink
Fix compilation with Xcode 16 (#542)
Browse files Browse the repository at this point in the history
* Fix compilation with Xcode 16.1

* Oh, it's actually Xcode  16
# Conflicts:
#	Source/KSCrash/Recording/Tools/KSMachineContext.c
  • Loading branch information
bamx23 committed Aug 17, 2024
1 parent fd0360b commit 3cdf487
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/KSCrash/Recording/Tools/KSMachineContext.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

#include <mach/mach.h>

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 180000 // Xcode 16.0
#include <sys/_types/_ucontext64.h>
#endif

//#define KSLogger_LocalLevel TRACE
#include "KSLogger.h"

Expand Down

0 comments on commit 3cdf487

Please sign in to comment.