summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/thread_pthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index ae312e9..76d6f3b 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -132,7 +132,8 @@ init_condattr(void)
if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) {
condattr_monotonic = &ca; // Use monotonic clock
}
-#endif
+# undef ca
+#endif // CONDATTR_MONOTONIC
}
int