I've picked up again a project I was developing on a Linux machine, that compiled without errors, and now moved it to an OSX machine, MacBook Pro with Sequoia 15.3 OS.
When building the project I get the following error
dirutils.pas(77,85) Error: Call by var for arg no. 4 has to match exactly: Got "FILES.FSRef" expected "MACOSALL.FSRef"
dirutils.pas(79,85) Error: Call by var for arg no. 4 has to match exactly: Got "FILES.FSRef" expected "MACOSALL.FSRef"
This is the code in dirutils
if Global then // kLocalDomain
theError := FSFindFolder(kLocalDomain, FolderType, kDontCreateFolder, theRef)
else // kUserDomain
theError := FSFindFolder(kUserDomain , FolderType, kDontCreateFolder, theRef);
Any idea on how to get past this?