Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initial add.
  • Loading branch information
icculus committed Jul 5, 2001
1 parent a31876c commit 655524c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions 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 <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 ... */

0 comments on commit 655524c

Please sign in to comment.