DISK: rename CreateVirtualDisk
This fixes issue #52, name conflict when building in MinGW.
This commit is contained in:
parent
9dea1cecd1
commit
068b0f37b4
1 changed files with 9 additions and 9 deletions
|
@ -5670,7 +5670,7 @@ _rand_uuid_gen (uuidaddr);
|
|||
#endif
|
||||
|
||||
static VHDHANDLE
|
||||
CreateVirtualDisk(const char *szVHDPath,
|
||||
sim_CreateVirtualDisk(const char *szVHDPath,
|
||||
uint32 SizeInSectors,
|
||||
uint32 BlockSize,
|
||||
t_bool bFixedVHD)
|
||||
|
@ -5965,7 +5965,7 @@ if ((Status = GetVHDFooter (szParentVHDPath,
|
|||
NULL,
|
||||
0)))
|
||||
goto Cleanup_Return;
|
||||
hVHD = CreateVirtualDisk (szVHDPath,
|
||||
hVHD = sim_CreateVirtualDisk (szVHDPath,
|
||||
(uint32)(NtoHll(ParentFooter.CurrentSize)/BytesPerSector),
|
||||
NtoHl(ParentDynamic.BlockSize),
|
||||
FALSE);
|
||||
|
@ -6111,7 +6111,7 @@ return hVHD;
|
|||
|
||||
static FILE *sim_vhd_disk_create (const char *szVHDPath, t_offset desiredsize)
|
||||
{
|
||||
return (FILE *)CreateVirtualDisk (szVHDPath, (uint32)(desiredsize/512), 0, (sim_switches & SWMASK ('X')));
|
||||
return (FILE *)sim_CreateVirtualDisk (szVHDPath, (uint32)(desiredsize/512), 0, (sim_switches & SWMASK ('X')));
|
||||
}
|
||||
|
||||
static FILE *sim_vhd_disk_create_diff (const char *szVHDPath, const char *szParentVHDPath)
|
||||
|
|
Loading…
Add table
Reference in a new issue