浏览代码

use __restrict also for all visual studio versions

Julius Pfrommer 9 年之前
父节点
当前提交
ab8af8cffc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ua_util.h

+ 1 - 1
src/ua_util.h

@@ -34,7 +34,7 @@
 #endif
 
 /* Visual Studio needs __restrict */
-#if defined(_MSC_VER) && _MSC_VER >= 1400
+#ifdef _MSC_VER
     #define UA_RESTRICT __restrict
 #else
     #define UA_RESTRICT restrict