diff --git a/RollbarNotifier/Sources/RollbarCrash/Util/RollbarCrashCPU.c b/RollbarNotifier/Sources/RollbarCrash/Util/RollbarCrashCPU.c index 79e88623..8f99e6c7 100644 --- a/RollbarNotifier/Sources/RollbarCrash/Util/RollbarCrashCPU.c +++ b/RollbarNotifier/Sources/RollbarCrash/Util/RollbarCrashCPU.c @@ -38,8 +38,12 @@ const char* rccpu_currentArch(void) { +#if TARGET_OS_WATCH + return NULL; +#else const NXArchInfo* archInfo = NXGetLocalArchInfo(); return archInfo == NULL ? NULL : archInfo->name; +#endif } #if RollbarCrashCRASH_HAS_THREADS_API