From 9bcc513cd43c78dee3c32446f353aaa0668c2180 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 2 Aug 2010 15:07:41 +0000 Subject: Made client and server buildable with mingw32 again. Use uint64_t type for network counters. --- source/files.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/files.c') diff --git a/source/files.c b/source/files.c index 943be95..94f84dc 100644 --- a/source/files.c +++ b/source/files.c @@ -673,7 +673,9 @@ static ssize_t open_file_write( file_t *file, const char *name ) { fail1: ret = Q_ERR(errno); +#ifdef __unix__ fail2: +#endif fclose( fp ); return ret; } -- cgit v1.2.3