aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat_threads.c')
-rw-r--r--src/common/compat_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat_threads.c b/src/common/compat_threads.c
index e8a97f1254..6adcaab956 100644
--- a/src/common/compat_threads.c
+++ b/src/common/compat_threads.c
@@ -403,5 +403,5 @@ atomic_counter_exchange(atomic_counter_t *counter, size_t newval)
tor_mutex_release(&counter->mutex);
return oldval;
}
-#endif
+#endif /* !defined(HAVE_STDATOMIC_H) */