http://bugs.winehq.org/show_bug.cgi?id=20042
--- Comment #40 from Thomas Orgis thomas-forum@orgis.org 2010-02-14 10:09:34 --- (In reply to comment #39)
Anyway, if you wanted to provide a "universal" library you could require that your library be built with large file support and then typecast non-64 bit off_t calls.
Not that simple: The libmpg123 API also exchanges file descriptors (mpg123_open_fd()) ... typecasting does not help you much there. The library would need full dual mode and separate paths for 32 bit / 64 bit I/O. But, well, I hope that the change I did at least helps the distro builds and also makes a default custom build of wine work (when it enables large file support...). The whole 32/64 bit off_t mess was designed for a transitional period anyway... that period already is long enough (OK, don't compare it to the transition period to IPv6).