[EXT2] Add __REACTOS__ check around changes done in 76910c358f7197a6b8e283ea267faf7b5...
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 7 Apr 2019 06:58:46 +0000 (08:58 +0200)
committerHervé Poussineau <hpoussin@reactos.org>
Sun, 7 Apr 2019 16:32:29 +0000 (18:32 +0200)
drivers/filesystems/ext2/src/memory.c

index cf569f4..f0eaac5 100644 (file)
@@ -2072,9 +2072,15 @@ Ext2ParseRegistryVolumeParams(
 
     USHORT i, j, k;
 
+#ifdef __REACTOS__
     RtlZeroMemory(Codepage, sizeof(WCHAR) * CODEPAGE_MAXLEN);
     RtlZeroMemory(Prefix, sizeof(WCHAR) * HIDINGPAT_LEN);
     RtlZeroMemory(Suffix, sizeof(WCHAR) * HIDINGPAT_LEN);
+#else
+    RtlZeroMemory(Codepage, CODEPAGE_MAXLEN);
+    RtlZeroMemory(Prefix, HIDINGPAT_LEN);
+    RtlZeroMemory(Suffix, HIDINGPAT_LEN);
+#endif
     RtlZeroMemory(MountPoint, sizeof(USHORT) * 4);
     RtlZeroMemory(DrvLetter, sizeof(CHAR) * 4);