Julius Pfrommer лет назад: 9
Родитель
Сommit
a91404198d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      include/ua_config.h.in

+ 2 - 0
include/ua_config.h.in

@@ -78,6 +78,8 @@
 /* Define non-aliasing pointers */
 #ifdef _MSC_VER
 # define UA_RESTRICT __restrict
+#elif defined(__GNUC__)
+# define UA_RESTRICT __restrict__
 #else
 # define UA_RESTRICT restrict
 #endif