comparison src/os/unix/ngx_files.h @ 2758:77264e0157ad

-p and --prefix=
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Apr 2009 11:32:33 +0000
parents e50a2faac31d
children 9d986c4e796f
comparison
equal deleted inserted replaced
2757:9cc973b46af1 2758:77264e0157ad
156 #endif 156 #endif
157 157
158 158
159 #define ngx_realpath(p, r) realpath((char *) p, (char *) r) 159 #define ngx_realpath(p, r) realpath((char *) p, (char *) r)
160 #define ngx_realpath_n "realpath()" 160 #define ngx_realpath_n "realpath()"
161 #define ngx_getcwd(buf, size) (getcwd(buf, size) != NULL) 161 #define ngx_getcwd(buf, size) (getcwd((char *) buf, size) != NULL)
162 #define ngx_getcwd_n "getcwd()" 162 #define ngx_getcwd_n "getcwd()"
163 #define ngx_path_separator(c) ((c) == '/') 163 #define ngx_path_separator(c) ((c) == '/')
164 164
165 #define NGX_MAX_PATH PATH_MAX 165 #define NGX_MAX_PATH PATH_MAX
166 166