[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).

svn path=/trunk/; revision=69376
This commit is contained in:
Hermès Bélusca-Maïto 2015-09-27 16:12:45 +00:00
parent fbb3c519c3
commit 9be71e7524

View file

@ -475,8 +475,8 @@ typedef struct _DISK_MOUNT_INFO
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