#endif
#ifndef __DARWIN__
- #include "morefile.h"
- #include "moreextr.h"
- #include "fullpath.h"
- #include "fspcompa.h"
- #include "PLStringFuncs.h"
+ #include "MoreFiles.h"
+ #include "MoreFilesExtras.h"
#endif
extern bool gUseNavServices ;
if (theItem->descriptorType == typeFSS && !theInfo->isFolder)
{
FSSpec spec;
- memcpy( &spec , *theItem->dataHandle , sizeof(FSSpec) ) ;
+#if TARGET_CARBON
+ ::AEGetDescData(theItem, &spec, sizeof(FSSpec) ) ;
+#else
+ memcpy( &spec , (*theItem->dataHandle) , sizeof(FSSpec) ) ;
+#endif
display = CheckFile( spec.name , theInfo->fileAndFolder.fileInfo.finderInfo.fdType , data ) ;
}
}