From: Jens Axboe Date: Tue, 4 Sep 2007 13:16:39 +0000 (+0200) Subject: Type in SPLICE_F_UNMAP ifdef X-Git-Tag: fio-1.17.2~30 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=bdda7d79187a260c097de2ef3ffd90e022a3387b Type in SPLICE_F_UNMAP ifdef Should be an ifndef obviously, not ifdef. Signed-off-by: Jens Axboe --- diff --git a/os/os-linux.h b/os/os-linux.h index 1bf7e62a..dd783be3 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -98,7 +98,7 @@ static inline int vmsplice(int fd, const struct iovec *iov, } #endif -#ifdef SPLICE_F_UNMAP +#ifndef SPLICE_F_UNMAP #define SPLICE_F_UNMAP (0x10) #endif