diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-23 16:38:59 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-23 16:38:59 +0000 |
commit | bf14b000e6cae87ff2bbd2ab813195fdd2e4b69f (patch) | |
tree | 18e88d1095a6a6e30dcf8695136c6d505d0dd6d6 /src/os/unix/ngx_files.h | |
parent | c28ff717cb27e01cc40bdaebdd2c3826c0a7707d (diff) | |
download | nginx-bf14b000e6cae87ff2bbd2ab813195fdd2e4b69f.tar.gz nginx-bf14b000e6cae87ff2bbd2ab813195fdd2e4b69f.zip |
ngx_path_separator()
Diffstat (limited to 'src/os/unix/ngx_files.h')
-rw-r--r-- | src/os/unix/ngx_files.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index 63d080b5c..7d83b04e7 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -160,6 +160,8 @@ ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s); #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 |