summaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_os.h')
-rw-r--r--src/os/unix/ngx_os.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h
index dc9f7a803..ee91df336 100644
--- a/src/os/unix/ngx_os.h
+++ b/src/os/unix/ngx_os.h
@@ -15,18 +15,6 @@
#define NGX_IO_SENDFILE 1
#define NGX_IO_ZEROCOPY 2
-#if (HAVE_SENDFILE)
-#define NGX_HAVE_SENDFILE NGX_IO_SENDFILE
-#else
-#define NGX_HAVE_SENDFILE 0
-#endif
-
-#if (HAVE_ZEROCOPY)
-#define NGX_HAVE_ZEROCOPY NGX_IO_ZEROCOPY
-#else
-#define NGX_HAVE_ZEROCOPY 0
-#endif
-
typedef ssize_t (*ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size);
typedef ssize_t (*ngx_recv_chain_pt)(ngx_connection_t *c, ngx_chain_t *in);