roken: do not require use of rk_mkdir on all platforms

Although rk_mkdir can be provided on all platforms there is no
reason to require that it be used by unconditionally mapping

  mkdir -> rk_mkdir

Change-Id: Ic149500037abf446434332bf6ba67dfb3906cd72
This commit is contained in:
Jeffrey Altman
2013-07-12 17:33:06 -04:00
parent 1826106ff4
commit 5b223c2caa
5 changed files with 11 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
int ROKEN_LIB_FUNCTION
rk_mkdir(const char *pathname, mode_t mode)
{
#ifndef _WIN32
#ifndef MKDIR_DOES_NOT_HAVE_MODE
return mkdir(pathname, mode);
#else
/* Windows does not provide the ability to set access permissions */