Remove sync/async definitions. Use sync functions for MacOS.

This commit is contained in:
2021-03-14 05:07:03 +00:00
parent 5c109c184b
commit 80cfc123a1
11 changed files with 20 additions and 23 deletions

View File

@@ -86,7 +86,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
hpb.ioNamePtr = str255;
hpb.ioVRefNum = 0;
hpb.ioVolIndex = -1;
rc = PBHGetVInfo((HParmBlkPtr)&hpb, 0);
rc = PBHGetVInfoSync((HParmBlkPtr)&hpb);
if(rc)
{
printf("Could not get volume information.\n");