[NTOSKRNL] Fix MSVC build?
[reactos.git] / ntoskrnl / cc / view.c
index 7112e02..7816750 100644 (file)
@@ -71,7 +71,11 @@ ULONG CcTotalDirtyPages = 0;
 LIST_ENTRY CcDeferredWrites;
 KSPIN_LOCK CcDeferredWriteSpinLock;
 LIST_ENTRY CcCleanSharedCacheMapList;
+#ifndef _MSC_VER
 LARGE_INTEGER CcIdleDelay = {.QuadPart = (LONGLONG)-1*1000*1000*10};
+#else
+LARGE_INTEGER CcIdleDelay = {(LONGLONG)-1*1000*1000*10};
+#endif
 
 /* Internal vars (ROS):
  * - Event to notify lazy writer to shutdown