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
  • Loading branch information
bamx23 committed Aug 17, 2024
1 parent 69d30a2 commit 025ddee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/KSCrashRecordingCore/KSMachineContext.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

#include <mach/mach.h>

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

#include "KSCPU.h"
#include "KSCPU_Apple.h"
#include "KSMachineContext_Apple.h"
Expand Down

0 comments on commit 025ddee

Please sign in to comment.