projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2d4a54d
)
[NTOSKRNL] Fix MSVC build?
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 27 Jan 2018 21:02:01 +0000
(22:02 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 27 Jan 2018 21:02:01 +0000
(22:02 +0100)
ntoskrnl/cc/view.c
patch
|
blob
|
history
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