]> mj.ucw.cz Git - libucw.git/commitdiff
Don't cry when pread/pwrite is not available.
authorMartin Mares <mj@ucw.cz>
Wed, 2 Aug 2000 09:13:38 +0000 (09:13 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 2 Aug 2000 09:13:38 +0000 (09:13 +0000)
lib/lfs.h

index ceb9e307f8284635d432684a2f866087e8466ca3..44ba65c5b9725f3a4d6856733dc0205adfc8f1ab 100644 (file)
--- a/lib/lfs.h
+++ b/lib/lfs.h
@@ -133,8 +133,4 @@ static _syscall4(int, pwrite, unsigned int, fd, void *, buf, size_t, size, loff_
 
 #endif  /* !SHERLOCK_HAVE_PREAD */
 
-#ifndef SHERLOCK_HAVE_PREAD
-#error pread/pwrite not available, need to work around
-#endif
-
 #endif /* !_SHERLOCK_LFS_H */