diff --git a/src/debug.c b/src/debug.c index 3b40e685b..5cfda59c9 100644 --- a/src/debug.c +++ b/src/debug.c @@ -55,7 +55,7 @@ typedef ucontext_t sigcontext_t; #endif /* Globals */ -static int bug_report_start = 0; /* True if bug report header was already logged. */ +static _Atomic int bug_report_start = 0; /* True if bug report header was already logged. */ /* Forward declarations */ void bugReportStart(void);