Type in SPLICE_F_UNMAP ifdef
authorJens Axboe <jens.axboe@oracle.com>
Tue, 4 Sep 2007 13:16:39 +0000 (15:16 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 4 Sep 2007 13:16:39 +0000 (15:16 +0200)
Should be an ifndef obviously, not ifdef.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-linux.h

index 1bf7e62a42ca8840fcfeef4ef7bc668476084948..dd783be3a61e63ee5955ffa121a5831c2413fe07 100644 (file)
@@ -98,7 +98,7 @@ static inline int vmsplice(int fd, const struct iovec *iov,
 }
 #endif
 
 }
 #endif
 
-#ifdef SPLICE_F_UNMAP
+#ifndef SPLICE_F_UNMAP
 #define SPLICE_F_UNMAP (0x10)
 #endif
 
 #define SPLICE_F_UNMAP (0x10)
 #endif