X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2276c2959446be677a52f639d8f92e5a0e216c32..689471fc3ab6adf5649894eca8b3c6513081f012:/src/mac/morefile/FullPath.cpp diff --git a/src/mac/morefile/FullPath.cpp b/src/mac/morefile/FullPath.cpp index 3ad50b412d..7e54d6c5fa 100644 --- a/src/mac/morefile/FullPath.cpp +++ b/src/mac/morefile/FullPath.cpp @@ -28,8 +28,8 @@ #define __COMPILINGMOREFILES -#include "FSpCompa.h" -#include "FullPath.h" +#include "fspcompa.h" +#include "fullpath.h" /* IMPORTANT NOTE: @@ -180,7 +180,11 @@ pascal OSErr FSpGetFullPath(const FSSpec *spec, if ( result == noErr ) { /* Return the length */ +#if TARGET_CARBON + *fullPathLength = GetHandleSize(*fullPath); +#else *fullPathLength = InlineGetHandleSize(*fullPath); +#endif result = realResult; // return realResult in case it was fnfErr } else