Mercurial > hg > nginx-quic
diff src/os/unix/ngx_files.h @ 685:364195c9ee00
Linux O_NOATIME support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 01 Sep 2006 05:15:56 +0000 |
parents | 7e24168b0853 |
children | fd8a64f5dd3b |
line wrap: on
line diff
--- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -28,6 +28,11 @@ #define NGX_FILE_TRUNCATE O_TRUNC #define NGX_FILE_APPEND O_APPEND +#ifdef O_NOATIME +#define NGX_FILE_NOATIME O_NOATIME +#else +#define NGX_FILE_NOATIME 0 +#endif #define ngx_close_file close #define ngx_close_file_n "close()"