Procházet zdrojové kódy

Added stricmp stuff and included physfs_internal.h ...

Ryan C. Gordon před 25 roky
rodič
revize
b7db28940e
1 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. 10 0
      unix.c

+ 10 - 0
unix.c

@@ -10,6 +10,10 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <pthread.h>
 #include <pthread.h>
 
 
+#define __PHYSICSFS_INTERNAL__
+#include "physfs_internal.h"
+
+
 const char *__PHYSFS_PlatformDirSeparator = "/";
 const char *__PHYSFS_PlatformDirSeparator = "/";
 
 
 char **__PHYSFS_platformDetectAvailableCDs(void)
 char **__PHYSFS_platformDetectAvailableCDs(void)
@@ -28,5 +32,11 @@ int __PHYSFS_platformGetThreadID(void)
     return((int) pthread_self());
     return((int) pthread_self());
 } /* __PHYSFS_platformGetThreadID */
 } /* __PHYSFS_platformGetThreadID */
 
 
+
+int __PHYSFS_platformStricmp(const char *str1, const char *str2)
+{
+    return(strcasecmp(str1, str2));
+} /* __PHYSFS_platformStricmp */
+
 /* end of unix.c ... */
 /* end of unix.c ... */