Explorar o código

use __restrict also for all visual studio versions

Julius Pfrommer %!s(int64=9) %!d(string=hai) anos
pai
achega
ab8af8cffc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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