Initial add.

This commit is contained in:
Ryan C. Gordon 2001-07-05 08:17:44 +00:00
parent a31876c025
commit 655524c506
1 changed files with 32 additions and 0 deletions

32
unix.c Normal file
View File

@ -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 <stdio.h>
#include <stdlib.h>
#include <pthread.h>
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 ... */