php4 building fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@16 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
76dbda84d9
commit
0a07de22d0
|
@ -55,7 +55,11 @@ void xcache_mkdirs_ex(char *root, int rootlen, char *path, int pathlen TSRMLS_DC
|
|||
#ifdef DEBUG
|
||||
fprintf(stderr, "mkdir %s\n", fullpath);
|
||||
#endif
|
||||
#if PHP_MAJAR_VERSION > 5
|
||||
php_stream_mkdir(fullpath, 0700, REPORT_ERRORS, NULL);
|
||||
#else
|
||||
mkdir(fullpath, 0700);
|
||||
#endif
|
||||
}
|
||||
free_alloca(fullpath);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue