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
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?
for clzip, does unistd.h is really needed? In TinyCC win32 environment,
it doesn't have it.
I commented they out and it builds with tcc(although the result binary
is slow).
Yes, it is. At least in GNU/Linux. And I don't think it is worth the
trouble of including it conditionally just for the sake of tcc.
Regards,
Antonio.
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug