summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/nimbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index 4249014ad..5a4f403b6 100644
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -109,7 +109,7 @@ __clang__
        defined __xlC__
 #  define NIM_THREADVAR __thread
 #elif defined __TINYC__
-#  defined NIM_THREADVAR
+#  define NIM_THREADVAR
 #else
 #  error "Cannot define NIM_THREADVAR"
 #endif