Ver código fonte

use __restrict also for all visual studio versions

Julius Pfrommer 9 anos atrás
pai
commit
ab8af8cffc
1 arquivos alterados com 1 adições e 1 exclusões
  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