Re: [AD] fs-hook on OS X

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


Ok, I've finally had time to have a look at this again. It compiles now on OS X and I can run the examples. Please check the output below to see if it looks reasonable (it mostly does to me, although I'm not sure what AL_SYSTEM_DATA_PATH is supposed to be).

I did have to make a small fix in src/macosx/system.m, which I've commited. My local svn sandbox also has an extra #include <sys/types.h> in fshook.h, which should probably be in the repository version as well. Should I go ahead and commit this?

Evert

Output:

eglebbk@xxxxxxxxxx>examples/ex_path $PWD
dyn: drive="(null)", file="Build"
sta: drive="(null)", file="Build"
tostring: '/Users/eglebbk/Program/Allegro5/4.9-fshook/Build'
tostring: drive:'(null)' dirs: '', 'Users', 'eglebbk', 'Program', 'Allegro5', '4.9-fshook' filename:'Build'
eglebbk@xxxxxxxxxx>examples/ex_get_path
AL_PROGRAM_PATH: /Users/eglebbk/Program/Allegro5/4.9-fshook/Build/ examples
AL_TEMP_PATH: /private/var/tmp/folders.501/TemporaryItems
AL_SYSTEM_DATA_PATH: /Users/eglebbk/Program/Allegro5/4.9-fshook/Build/ examples
AL_USER_DATA_PATH: /Users/eglebbk/Library
AL_USER_HOME_PATH: /Users/eglebbk
eglebbk@xxxxxxxxxx>





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