File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 3838 */
3939#ifdef SENTRY_PLATFORM_UNIX
4040# include <unistd.h>
41- # ifdef SENTRY_PLATFORM_ANDROID
42- # include <android/log.h>
43- # define SENTRY_SIGNAL_SAFE_LOG (msg ) \
44- do { \
45- __android_log_write(ANDROID_LOG_ERROR, "sentry", msg); \
46- } while (0)
47- # else
48- # define SENTRY_SIGNAL_SAFE_LOG (msg ) \
49- do { \
50- static const char _msg[] = "[sentry] " msg "\n"; \
51- (void)!write(STDERR_FILENO, _msg, sizeof(_msg) - 1); \
52- } while (0)
53- # endif
41+ # define SENTRY_SIGNAL_SAFE_LOG (msg ) \
42+ do { \
43+ static const char _msg[] = "[sentry] " msg "\n"; \
44+ (void)!write(STDERR_FILENO, _msg, sizeof(_msg) - 1); \
45+ } while (0)
5446#elif defined(SENTRY_PLATFORM_WINDOWS )
5547# define SENTRY_SIGNAL_SAFE_LOG (msg ) \
5648 do { \
You can’t perform that action at this time.
0 commit comments