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 */