platform/unix.c
changeset 69 546a95cc5591
parent 67 5000499d4ee2
child 70 203efbe2532e
--- a/platform/unix.c	Thu Aug 23 15:22:52 2001 +0000
+++ b/platform/unix.c	Thu Aug 23 15:23:21 2001 +0000
@@ -458,5 +458,14 @@
     return(retval);
 } /* __PHYSFS_platformRealPath */
 
+
+int __PHYSFS_platformMkDir(const char *path)
+{
+    errno = 0;
+    rc = mkdir(path, S_IRWXU);
+    BAIL_IF_MACRO(rc == -1, strerror(errno), 0);
+    return(1);
+} /* __PHYSFS_platformMkDir */
+
 /* end of unix.c ... */