Skip to content

Commit

Permalink
Update SentrySwift.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-at-home committed Jul 1, 2024
1 parent 8fd4e80 commit fad4f5d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Sources/Sentry/include/SentrySwift.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@
# endif
#endif

#ifdef SENTRY_NO_UIKIT
#if __has_include("SentryNoUIKit-Swift.h")
# import "SentryNoUIKit-Swift.h"
#else
# import <SentryNoUIKit/SentryNoUIKit-Swift.h>
#endif
#else
#if __has_include("Sentry-Swift.h")
# import "Sentry-Swift.h"
#else
# import <Sentry/Sentry-Swift.h>
#endif

#endif // SENTRY_NO_UIKIT
#endif

0 comments on commit fad4f5d

Please sign in to comment.