1
0
Fork 0

php4 building fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@16 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2006-05-25 02:29:02 +00:00
parent 76dbda84d9
commit 0a07de22d0
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}