diff options
author | root <root> | 2010-01-07 17:18:08 +0000 |
---|---|---|
committer | root <root> | 2010-01-07 17:18:08 +0000 |
commit | f729dd40abcc81fdd8d940a156fec32c9ca8e4d1 (patch) | |
tree | 30f6fd929c184daa88b27720653c46bd27d862b4 /libeio.m4 | |
parent | dc38ef7a470a68fb46d7e43d950e6c7cc4d55006 (diff) |
*** empty log message ***
Diffstat (limited to 'libeio.m4')
-rw-r--r-- | libeio.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,7 +64,7 @@ AC_CACHE_CHECK(for sendfile, ac_cv_sendfile, [AC_LINK_IFELSE([ # include <sys/types.h> #if __linux # include <sys/sendfile.h> -#elif __freebsd || defined __APPLE__ +#elif __FreeBSD__ || defined __APPLE__ # include <sys/socket.h> # include <sys/uio.h> #elif __hpux @@ -80,7 +80,7 @@ int main(void) ssize_t res; #if __linux res = sendfile (fd, fd, offset, count); -#elif __freebsd +#elif __FreeBSD__ res = sendfile (fd, fd, offset, count, 0, &offset, 0); #elif __hpux res = sendfile (fd, fd, offset, count, 0, 0); |