Added stricmp stuff and included physfs_internal.h ...
This commit is contained in:
parent
60e6014f3c
commit
b7db28940e
10
unix.c
10
unix.c
|
@ -10,6 +10,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#define __PHYSICSFS_INTERNAL__
|
||||
#include "physfs_internal.h"
|
||||
|
||||
|
||||
const char *__PHYSFS_PlatformDirSeparator = "/";
|
||||
|
||||
char **__PHYSFS_platformDetectAvailableCDs(void)
|
||||
|
@ -28,5 +32,11 @@ 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 */
|
||||
|
||||
/* end of unix.c ... */
|
||||
|
||||
|
|
Loading…
Reference in New Issue