Re: [AD] fs-hook on OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wednesday 24 September 2008, Evert Glebbeek wrote:
> Doesn't build, because the old filesystem functions that were called
> from the OS X specific code haven't been replaced with their new
> counterparts. I cann probably work out how to do that by looking at
> the differences in the other platform specific code where similar
> changes have been made, but it might be better for someone who knows
> more about the file system (Thomas?) to make that change. That way I
> can possibly focus on problems with OS X rather than first trying to
> work out how the fs stuff works.

I can probably grep through the OSX files to see whats up. As for how fshooks 
works, the toplevel api is nearly identical to PACKFILEs.

> Aside from that, I had to add #include <sys/types.h> near the top of
> fshook.h, otherwise off_t is not defined.

sys/types.h is already included I thought. Guess it wasn't ::) glibc probably 
auto includes it for me some place, which is why I didn't catch it.

> Evert
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/