[PATCH 37/39] gzip: rename eof due to symbol conflict on Windows

Dan Fandrich dan at coneharvesters.com
Fri Apr 16 00:09:05 UTC 2010


On Thu, Apr 15, 2010 at 10:02:22PM +0200, Nguy�n Thái Ng�c Duy wrote:
> +#ifdef __MINGW32__
> +#define eof eof_
> +#endif

Rather than special-casing eof in the MingW32 case, why not just rename the
instances of eof in the code to something else?  It seems to be used in ways
local to this file so it shouldn't affect anything else.

>>> Dan
-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved


More information about the busybox mailing list