Stasik0 пре 8 година
родитељ
комит
700fa36053
1 измењених фајлова са 1 додато и 1 уклоњено
  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 */