physfs/unix.c

43 lines
803 B
C
Raw Normal View History

2001-07-05 10:17:44 +02:00
/*
* 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>
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"
2001-07-05 10:17:44 +02:00
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 */
int __PHYSFS_platformStricmp(const char *str1, const char *str2)
{
return(strcasecmp(str1, str2));
} /* __PHYSFS_platformStricmp */
2001-07-05 10:17:44 +02:00
/* end of unix.c ... */