mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 19:11:16 +00:00
[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:
parent
fbb3c519c3
commit
9be71e7524
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue