Author: hbelusca
Date: Sun Sep 27 16:12:45 2015
New Revision: 69376
URL:
http://svn.reactos.org/svn/reactos?rev=69376&view=rev
Log:
[NTVDM]: Fix GCC build by using _ARRAYSIZE (which is the old-school
sizeof(foo)/sizeof(foo[0]) macro) instead of ARRAYSIZE (which does the same but in a more
complicated way, which involves a construct that cannot be embedded inside definitions of
variables).
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/hardware/disk.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/hardware/disk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/hard…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/hardware/disk.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/hardware/disk.c [iso-8859-1] Sun Sep 27 16:12:45
2015
@@ -475,8 +475,8 @@
static DISK_MOUNT_INFO DiskMountInfo[MAX_DISK_TYPE] =
{
- {XDCFloppyDrive, ARRAYSIZE(XDCFloppyDrive), MountFDI},
- {XDCHardDrive , ARRAYSIZE(XDCHardDrive) , MountHDD},
+ {XDCFloppyDrive, _ARRAYSIZE(XDCFloppyDrive), MountFDI},
+ {XDCHardDrive , _ARRAYSIZE(XDCHardDrive) , MountHDD},
};
PDISK_IMAGE