소스 검색

fix MSVC build for monotonic clock

Julius Pfrommer 9 년 전
부모
커밋
3583b4e819
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);