]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/sg_path.hxx
Fix VS2010 lack of fminf
[simgear.git] / simgear / misc / sg_path.hxx
index cce05ebc36a8fd9e9d7499a64974f91583683b67..3e5c22fe3c016e9739f5a546269355db36681305 100644 (file)
@@ -206,9 +206,12 @@ public:
 
     /**
      * Create the designated directory.
+     *
+     * @param mode Permissions. See:
+     *    http://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation
      * @return 0 on success, or <0 on failure.
      */
-    int create_dir(mode_t mode);
+    int create_dir(mode_t mode = 0755);
 
     /**
      * Check if reading file is allowed. Readabilty does not imply the existance