summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/_perthread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/_perthread.h b/src/_perthread.h
index 5559bb60..0f0139f8 100644
--- a/src/_perthread.h
+++ b/src/_perthread.h
@@ -1,8 +1,7 @@
#ifndef ___PERTHREAD_H__
#define ___PERTHREAD_H__
-#if defined __STDC_VERSION__ && 201112L <= __STDC_VERSION__ && !defined __STDC_N
-O_THREADS__
+#if defined __STDC_VERSION__ && 201112L <= __STDC_VERSION__ && !defined __STDC_NO_THREADS__
#define THREAD_LOCAL static _Thread_local
#else
#define THREAD_LOCAL static