commit | 5ef370df40b46b431f2c65d5a35d79569c647fc8 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Apr 27 11:32:33 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Apr 27 11:32:33 2009 +0000 |
tree | 8ef57a278e29261bcf160c9ab3fc248cfd674cf1 | |
parent | df585ef949c801d15a915c380583a60f032754b5 [diff] [blame] |
-p and --prefix=
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index 7d83b04..8608e17 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h
@@ -158,7 +158,7 @@ #define ngx_realpath(p, r) realpath((char *) p, (char *) r) #define ngx_realpath_n "realpath()" -#define ngx_getcwd(buf, size) (getcwd(buf, size) != NULL) +#define ngx_getcwd(buf, size) (getcwd((char *) buf, size) != NULL) #define ngx_getcwd_n "getcwd()" #define ngx_path_separator(c) ((c) == '/')