char *__PHYSFS_platformGetUserDir(void) { #if 0 return(NULL); /* bah...use default behaviour, I guess. */ #else /* (Hmm. Default behaviour is broken in the base library. :) ) */ return(__PHYSFS_platformCalcBaseDir(NULL)); #endif } /* __PHYSFS_platformGetUserDir */
char *__PHYSFS_platformCurrentDir(void) { /* * I don't think MacOS has a concept of "current directory", beyond * what is grafted on by a given standard C library implementation, * so just return the base dir. * We don't use this for anything crucial at the moment anyhow. */ return(__PHYSFS_platformCalcBaseDir(NULL)); } /* __PHYSFS_platformCurrentDir */
char *__PHYSFS_platformGetUserDir(void) { return(__PHYSFS_platformCalcBaseDir(NULL)); } /* __PHYSFS_platformGetUserDir */