Skip to content

Commit

Permalink
Added stricmp stuff and included physfs_internal.h ...
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 6, 2001
1 parent 60e6014 commit b7db289
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions unix.c
Expand Up @@ -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)
Expand All @@ -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 ... */

0 comments on commit b7db289

Please sign in to comment.