Explorar o código

fix MSVC build for monotonic clock

Julius Pfrommer %!s(int64=9) %!d(string=hai) anos
pai
achega
3583b4e819
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/ua_types.c

+ 1 - 1
src/ua_types.c

@@ -76,7 +76,7 @@ UA_DateTime UA_DateTime_now(void) {
 }
 
 UA_DateTime UA_DateTime_nowMonotonic(void) {
-#if defined(_WIN32) && !defined(__MINGW32__)
+#if defined(_WIN32)
     LARGE_INTEGER freq, ticks;
     QueryPerformanceFrequency(&freq);
     QueryPerformanceCounter(&ticks);