commit | bf14b000e6cae87ff2bbd2ab813195fdd2e4b69f | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Apr 23 16:38:59 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Apr 23 16:38:59 2009 +0000 |
tree | 18e88d1095a6a6e30dcf8695136c6d505d0dd6d6 | |
parent | c28ff717cb27e01cc40bdaebdd2c3826c0a7707d [diff] [blame] |
ngx_path_separator()
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index 63d080b..7d83b04 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h
@@ -160,6 +160,8 @@ #define ngx_realpath_n "realpath()" #define ngx_getcwd(buf, size) (getcwd(buf, size) != NULL) #define ngx_getcwd_n "getcwd()" +#define ngx_path_separator(c) ((c) == '/') + #define NGX_MAX_PATH PATH_MAX #define NGX_DIR_MASK_LEN 0