Fixed win32 build after realpath changes in r4559.

This commit is contained in:
Maxim Dounin 2012-03-28 13:04:39 +00:00
parent 97d7f3d827
commit 889ad51f17
2 changed files with 3 additions and 3 deletions

View File

@ -426,11 +426,11 @@ ngx_close_file_mapping(ngx_file_mapping_t *fm)
}
char *
u_char *
ngx_realpath(u_char *path, u_char *resolved)
{
/* STUB */
return (char *) path;
return path;
}

View File

@ -177,7 +177,7 @@ void ngx_close_file_mapping(ngx_file_mapping_t *fm);
#define ngx_filename_cmp(s1, s2, n) _strnicmp((char *) s1, (char *) s2, n)
char *ngx_realpath(u_char *path, u_char *resolved);
u_char *ngx_realpath(u_char *path, u_char *resolved);
#define ngx_realpath_n ""
#define ngx_getcwd(buf, size) GetCurrentDirectory(size, (char *) buf)
#define ngx_getcwd_n "GetCurrentDirectory()"