Stasik0 8 years ago
parent
commit
700fa36053
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ua_util.h

+ 1 - 1
src/ua_util.h

@@ -47,7 +47,7 @@
 /* Thread Local Storage */
 /************************/
 
-#if __STDC_VERSION__ >= 201112L
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
 # define UA_THREAD_LOCAL _Thread_local /* C11 */
 #elif defined(__GNUC__)
 # define UA_THREAD_LOCAL __thread /* GNU extension */