diff options
Diffstat (limited to 'src/os/win32/ngx_stat.h')
-rw-r--r-- | src/os/win32/ngx_stat.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/os/win32/ngx_stat.h b/src/os/win32/ngx_stat.h deleted file mode 100644 index bd0423b29..000000000 --- a/src/os/win32/ngx_stat.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef _NGX_STAT_H_INCLUDED_ -#define _NGX_STAT_H_INCLUDED_ - - -#include <windows.h> - -/* INVALID_FILE_ATTRIBUTES specified but never defined at least in VC6SP2 */ -#ifndef INVALID_FILE_ATTRIBUTES -#define INVALID_FILE_ATTRIBUTES 0xFFFFFFFF -#endif - -typedef BY_HANDLE_FILE_INFORMATION ngx_file_info_t; - - -#define ngx_file_type_n "GetFileAttributes" - -#define ngx_is_dir(fi) (fi.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) - -#define ngx_stat_n "GetFileAttributes" - -#define ngx_fstat(file, fd, sb) ngx_stat(file, sb) -#define ngx_fstat_n "GetFileAttributes" - - -/* -int ngx_stat(char *file, ngx_stat_t *sb); -*/ - - -#endif /* _NGX_STAT_H_INCLUDED_ */ |