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

2010-04-15 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- archival/gzip.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/archival/gzip.c b/archival/gzip.c index a327d54..effee7f 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1577,6 +1577,9 @@ static void

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

2010-04-15 Thread Dan Fandrich
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