소스 검색

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