mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 05:37:57 +00:00
fix compile errors introduced in off_t/off64_t fix.
This commit is contained in:
parent
0c8fcb0128
commit
660180fec8
2
os.h
2
os.h
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user