https://git.reactos.org/?p=reactos.git;a=commitdiff;h=131bc73555427968c01d5…
commit 131bc73555427968c01d53f3e51b84f1874c5058
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Thu Nov 26 03:50:16 2020 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Thu Nov 26 03:50:16 2020 +0300
[SMSS] Fix x64 build. Addendum to a0721eb
This part is specific for x86 architecture.
---
base/system/smss/pagefile.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/base/system/smss/pagefile.c b/base/system/smss/pagefile.c
index 0e3b6746746..0aaed6d01ed 100644
--- a/base/system/smss/pagefile.c
+++ b/base/system/smss/pagefile.c
@@ -851,8 +851,12 @@ SmpCreateVolumeDescriptors(VOID)
wcscpy(Buffer, L"\\??\\A:\\");
RtlInitUnicodeString(&VolumePath, Buffer);
+#if defined(_M_IX86)
/* Start with the C drive, except on NEC PC-98 */
StartChar = IsNEC_98 ? L'A' : L'C';
+#else
+ StartChar = L'C';
+#endif
for (Drive = StartChar, DriveDiff = StartChar - L'A'; Drive <=
L'Z'; Drive++, DriveDiff++)
{
/* Skip the disk if it's not in the drive map */