fix compile errors introduced in off_t/off64_t fix.

This commit is contained in:
gardners 2014-02-17 15:14:14 +10:30 committed by Andrew Bettison
parent 0c8fcb0128
commit 660180fec8

2
os.h
View File

@ -93,7 +93,7 @@ __SERVAL_DNA__OS_INLINE int bcmp(const void *s1, const void *s2, size_t n) {
# error "lseek64(2) system call is not available and `sizeof(off_t) is not 8"
# endif
# ifndef HAVE_OFF64_T
typedef off64_t off_t
typedef off_t off64_t;
__SERVAL_DNA__OS_INLINE off64_t lseek64(int fd, off64_t offset, int whence) {
return lseek(fd, offset, whence);
}