Added stricmp stuff and included physfs_internal.h ...
authorRyan C. Gordon <icculus@icculus.org>
Fri, 06 Jul 2001 02:33:21 +0000
changeset 10 45bd486c0224
parent 9 1155788ccbe3
child 11 677e01f5109e
Added stricmp stuff and included physfs_internal.h ...
unix.c
--- a/unix.c	Fri Jul 06 02:32:29 2001 +0000
+++ b/unix.c	Fri Jul 06 02:33:21 2001 +0000
@@ -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 @@
     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 ... */