diff src/os/win32/ngx_files.h @ 669:562806624c4a release-0.3.56

nginx-0.3.56-RELEASE import *) Feature: the "dav_access" directive. *) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e", "-x", and "!-x" operators. *) Bugfix: a segmentation fault occurred if a request returned a redirect and some sent to client header lines were logged in the access log.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Aug 2006 16:04:04 +0000
parents f971949ffb58
children 7e24168b0853
line wrap: on
line diff
--- a/src/os/win32/ngx_files.h
+++ b/src/os/win32/ngx_files.h
@@ -90,6 +90,7 @@ ngx_int_t ngx_file_info(u_char *filename
 
 #define ngx_is_dir(fi)      ((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
 #define ngx_is_file(fi)     !((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
+#define ngx_is_link(fi)     0
 
 
 #define ngx_file_size(fi)                                                    \
@@ -127,7 +128,7 @@ ngx_int_t ngx_read_dir(ngx_dir_t *dir);
 #define ngx_close_dir_n             "FindClose()"
 
 
-#define ngx_create_dir(name)        CreateDirectory((const char *) name, NULL)
+#define ngx_create_dir(name, access) CreateDirectory((const char *) name, NULL)
 #define ngx_create_dir_n            "CreateDirectory()"