mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:23:05 +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
1 changed files with 2 additions and 2 deletions
|
@ -475,8 +475,8 @@ typedef struct _DISK_MOUNT_INFO
|
||||||
|
|
||||||
static DISK_MOUNT_INFO DiskMountInfo[MAX_DISK_TYPE] =
|
static DISK_MOUNT_INFO DiskMountInfo[MAX_DISK_TYPE] =
|
||||||
{
|
{
|
||||||
{XDCFloppyDrive, ARRAYSIZE(XDCFloppyDrive), MountFDI},
|
{XDCFloppyDrive, _ARRAYSIZE(XDCFloppyDrive), MountFDI},
|
||||||
{XDCHardDrive , ARRAYSIZE(XDCHardDrive) , MountHDD},
|
{XDCHardDrive , _ARRAYSIZE(XDCHardDrive) , MountHDD},
|
||||||
};
|
};
|
||||||
|
|
||||||
PDISK_IMAGE
|
PDISK_IMAGE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue