diff options
author | stolz <unknown> | 2003-05-28 12:36:29 +0000 |
---|---|---|
committer | stolz <unknown> | 2003-05-28 12:36:29 +0000 |
commit | c367fd30d0cc552b4a288ff042089868babac6d4 (patch) | |
tree | 4635cba6fdd93b97e3cff307a66d5156fba2794b /System | |
parent | 6449036e682727fdff02749b6c2d382639e2b3ce (diff) |
[project @ 2003-05-28 12:36:29 by stolz]
Can't use sendfile() with LARGEFILES on Linux
Diffstat (limited to 'System')
-rw-r--r-- | System/Sendfile.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Sendfile.hsc b/System/Sendfile.hsc index 8b191e2..08a606b 100644 --- a/System/Sendfile.hsc +++ b/System/Sendfile.hsc @@ -52,7 +52,7 @@ sendfile :: Fd -- ^ Input sendfile _inFd _outFd _startpos 0 = return () sendfile inFd outFd startpos count = -#ifdef HAVE_LINUX_SENDFILE +#if defined(HAVE_LINUX_SENDFILE) && !defined(__USE_FILE_OFFSET64) do offsetptr <- malloc poke offsetptr (fromIntegral startpos) |