summaryrefslogtreecommitdiff
path: root/source/files.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-10-01 13:13:25 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-10-01 13:13:25 +0000
commit3544752417431e55fab8226318e985d1b97cfb32 (patch)
tree79b1b9a89b2fa850248ac38f38c7b9d3fecf2d93 /source/files.c
parent328163a3d1f53e574c2ca312b3f61552e102e984 (diff)
Stubbed out more client stuff from dedicated server build.
Dedicated server now properly handles `wait' console command.
Diffstat (limited to 'source/files.c')
-rw-r--r--source/files.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/files.c b/source/files.c
index 39d67bd..c297c9f 100644
--- a/source/files.c
+++ b/source/files.c
@@ -48,15 +48,15 @@ QUAKE FILESYSTEM
// macros for dealing portably with files at OS level
#ifdef _WIN32
-#define FS_strcmp Q_strcasecmp
+#define FS_strcmp Q_strcasecmp
#define FS_strncmp Q_strncasecmp
#else
-#define FS_strcmp strcmp
+#define FS_strcmp strcmp
#define FS_strncmp strncmp
#endif
-#define MAX_READ 0x40000 // read in blocks of 256k
-#define MAX_WRITE 0x40000 // write in blocks of 256k
+#define MAX_READ 0x40000 // read in blocks of 256k
+#define MAX_WRITE 0x40000 // write in blocks of 256k
//
@@ -1176,6 +1176,8 @@ void FS_FreeFile( void *buffer ) {
}
}
+#if USE_CLIENT
+
/*
================
FS_RenameFile
@@ -1218,6 +1220,8 @@ qboolean FS_RenameFile( const char *from, const char *to ) {
return qtrue;
}
+#endif // USE_CLIENT
+
/*
================
FS_FPrintf