From b7db28940e3c9890f71c541fd945ac0ab4bf35c2 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 6 Jul 2001 02:33:21 +0000 Subject: [PATCH] Added stricmp stuff and included physfs_internal.h ... --- unix.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/unix.c b/unix.c index 2e1453c9..466be3e7 100644 --- a/unix.c +++ b/unix.c @@ -10,6 +10,10 @@ #include #include +#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 ... */