diff --git a/unix.c b/unix.c new file mode 100644 index 0000000..2e1453c --- /dev/null +++ b/unix.c @@ -0,0 +1,32 @@ +/* + * Unix support routines for PhysicsFS. + * + * Please see the file LICENSE in the source's root directory. + * + * This file written by Ryan C. Gordon. + */ + +#include +#include +#include + +const char *__PHYSFS_PlatformDirSeparator = "/"; + +char **__PHYSFS_platformDetectAvailableCDs(void) +{ +} /* __PHYSFS_detectAvailableCDs */ + + +char *__PHYSFS_platformCalcBaseDir(char *argv0) +{ + return(NULL); +} /* __PHYSFS_platformCalcBaseDir */ + + +int __PHYSFS_platformGetThreadID(void) +{ + return((int) pthread_self()); +} /* __PHYSFS_platformGetThreadID */ + +/* end of unix.c ... */ +