mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Don't strictly check NTDDI_VERSION to WINXP or WS03, since in case of e.g. NTDDI_WS03SP1 the define would work incorrectly (skipping a structure member).
svn path=/trunk/; revision=34914
This commit is contained in:
@@ -1426,9 +1426,9 @@ typedef struct _EJOB
|
||||
ULONG PeakProcessMemoryUsed;
|
||||
ULONG PeakJobMemoryUsed;
|
||||
ULONG CurrentJobMemoryUsed;
|
||||
#if (NTDDI_VERSION == NTDDI_WINXP)
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP) && (NTDDI_VERSION < NTDDI_WS03)
|
||||
FAST_MUTEX MemoryLimitsLock;
|
||||
#elif (NTDDI_VERSION == NTDDI_WS03)
|
||||
#elif (NTDDI_VERSION >= NTDDI_WS03) && (NTDDI_VERSION < NTDDI_LONGHORN)
|
||||
KGUARDED_MUTEX MemoryLimitsLock;
|
||||
#elif (NTDDI_VERSION >= NTDDI_LONGHORN)
|
||||
EX_PUSH_LOCK MemoryLimitsLock;
|
||||
|
||||
Reference in New Issue
Block a user