2013/1/11 Antonio Diaz Diaz <[email protected]>: > Hello Roy, > > Roy wrote: >> >> There is no _fsetmode() in mingw environment. > > > I knew I chose the wrong one. I'll switch again to setmode[1]. ;-) > > [1] http://lists.nongnu.org/archive/html/lzip-bug/2010-08/msg00011.html > > BTW, I have been told that cygwin now uses binary IO only[2]. Someone knows > if mingw plans to do the same? > > [2] http://lists.nongnu.org/archive/html/lzip-bug/2010-08/msg00005.html >
I don't think it will as the MSVCRT library will always act in text mode unless with setmode() for compatibility. > >> BTW it will be nice to #define strtoll as _strtoi64, as older w32api >> versions will not have this defined. >> >> #define strtoll _strtoi64 > > > Is there any condition that can be reliably tested to apply this definition? > Try linking to it? Regards, Roy _______________________________________________ Lzip-bug mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lzip-bug
