projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NTOSKRNL] Fix MSVC build?
[reactos.git]
/
ntoskrnl
/
cc
/
view.c
diff --git
a/ntoskrnl/cc/view.c
b/ntoskrnl/cc/view.c
index
7112e02
..
7816750
100644
(file)
--- a/
ntoskrnl/cc/view.c
+++ b/
ntoskrnl/cc/view.c
@@
-71,7
+71,11
@@
ULONG CcTotalDirtyPages = 0;
LIST_ENTRY CcDeferredWrites;
KSPIN_LOCK CcDeferredWriteSpinLock;
LIST_ENTRY CcCleanSharedCacheMapList;
LIST_ENTRY CcDeferredWrites;
KSPIN_LOCK CcDeferredWriteSpinLock;
LIST_ENTRY CcCleanSharedCacheMapList;
+#ifndef _MSC_VER
LARGE_INTEGER CcIdleDelay = {.QuadPart = (LONGLONG)-1*1000*1000*10};
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
/* Internal vars (ROS):
* - Event to notify lazy writer to shutdown