diff options
author | antirez <antirez@gmail.com> | 2020-06-06 11:42:45 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-06-06 11:42:45 +0200 |
commit | 61074b43a63feaa1655ef4e7d13808d315294443 (patch) | |
tree | cecc63c74647f611e75cd8867a23e9f29903aac6 /src/config.h | |
parent | d1e23e04aadcb0053b280905862f43dd794ba29b (diff) | |
download | redis-61074b43a63feaa1655ef4e7d13808d315294443.tar.gz |
Revert "Implements sendfile for redis."
This reverts commit 9cf500a3f67e4e2ce51414c354e3472faf095d5b.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/config.h b/src/config.h index 23de5d3ad..0fcc42972 100644 --- a/src/config.h +++ b/src/config.h @@ -133,12 +133,6 @@ void setproctitle(const char *fmt, ...); /* Byte ordering detection */ #include <sys/types.h> /* This will likely define BYTE_ORDER */ -/* Define redis_sendfile. */ -#if defined(__linux__) || (defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_5)) -#define HAVE_SENDFILE 1 -ssize_t redis_sendfile(int out_fd, int in_fd, off_t offset, size_t count); -#endif - #ifndef BYTE_ORDER #if (BSD >= 199103) # include <machine/endian.h> |