Farkas Levente wrote: > John Stebbins wrote: > >> This may not be your area of concern, but MinGw has problems with large >> file support. They've had a ticket open for it since 2006 and a few >> patches have been floating around, but no resolution. I had to patch >> several things to accommodate. >> > > the reason for this because msvcrt doesn't support it in early version. > all you have to do build with: > make CFLAGS="$CFLAGS -D__MSVCRT_VERSION__=0x0601" > anyway it's be useful to show us the patches! > > I applied the patches to all the individual libraries that needed it (e.g. libdvdread). Fairly simple stuff. Usually consisted of throwing something like this into a header file. #if defined( __MINGW32__ ) # undef lseek # define lseek _lseeki64 # undef fseeko # define fseeko fseeko64 # undef ftello # define ftello ftello64 # define flockfile(...) # define funlockfile(...) # define getc_unlocked getc # undef off_t # define off_t off64_t # undef stat # define stat _stati64 # define fstat _fstati64 # define wstat _wstati64 #endif
_______________________________________________ fedora-mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
