comparison src/os/unix/ngx_linux_config.h @ 3052:6060225e9261

FreeBSD and Linux AIO support
author Igor Sysoev <igor@sysoev.ru>
date Fri, 28 Aug 2009 08:12:35 +0000
parents 2ca36a62c8a1
children f596dd1a6d33
comparison
equal deleted inserted replaced
3051:26dfc0fa22c8 3052:6060225e9261
79 #if (NGX_HAVE_EPOLL) 79 #if (NGX_HAVE_EPOLL)
80 #include <sys/epoll.h> 80 #include <sys/epoll.h>
81 #endif 81 #endif
82 82
83 83
84 #if (NGX_HAVE_FILE_AIO)
85 #include <sys/syscall.h>
86 #include <linux/aio_abi.h>
87 typedef struct iocb ngx_aiocb_t;
88 #endif
89
90
84 #define NGX_LISTEN_BACKLOG 511 91 #define NGX_LISTEN_BACKLOG 511
85 92
86 93
87 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT 94 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT
88 #define NGX_HAVE_DEFERRED_ACCEPT 1 95 #define NGX_HAVE_DEFERRED_ACCEPT 1