From 655524c50641128d7e1f6b1bfa59e1a9624a4e27 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 5 Jul 2001 08:17:44 +0000 Subject: [PATCH] Initial add. --- unix.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 unix.c diff --git a/unix.c b/unix.c new file mode 100644 index 00000000..2e1453c9 --- /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 ... */ +