Ignore:
Timestamp:
Jul 17, 2008, 1:17:12 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Support fsetpos64 on Linux.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/lib-stream.c

    r2557 r2559  
    308308        _zz_unlock(fd); \
    309309        debug("%s([%i], %lli) = %i", __func__, \
    310               fd, (long long int)*pos, ret); \
    311         /* On HP-UX at least, fpos64_t == int64_t */ \
    312         _zz_setpos(fd, (int64_t)*pos); \
     310              fd, (long long int)FPOS_CAST(*pos), ret); \
     311        _zz_setpos(fd, (int64_t)FPOS_CAST(*pos)); \
    313312    } \
    314313    while(0)
Note: See TracChangeset for help on using the changeset viewer.