Skip to content

Commit

Permalink
Add default define for older xcode versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kstenerud committed Jun 12, 2024
1 parent b25b3e5 commit a516f3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Bugsnag/Helpers/BSGDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

#include <TargetConditionals.h>

#ifndef TARGET_OS_VISION
// For older Xcode that doesn't have VisionOS support...
#define TARGET_OS_VISION 0
#endif

// Capabilities dependent upon system defines and files
#define BSG_HAVE_BATTERY ( TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_VISION)
#define BSG_HAVE_MACH_EXCEPTIONS (TARGET_OS_OSX || TARGET_OS_IOS )
Expand Down

0 comments on commit a516f3d

Please sign in to comment.