summaryrefslogtreecommitdiff
path: root/source/files.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-08-02 15:07:41 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-08-02 15:07:41 +0000
commit9bcc513cd43c78dee3c32446f353aaa0668c2180 (patch)
tree9617fbee93f86f629880ac300c8c1d283e7b3f36 /source/files.c
parent5c73f165141b30d93309d25e1324bc0170eb4da5 (diff)
Made client and server buildable with mingw32 again.
Use uint64_t type for network counters.
Diffstat (limited to 'source/files.c')
-rw-r--r--source/files.c2
1 files changed, 2 insertions, 0 deletions
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;
}