From b6ce0b16b314ffa5574e427fbb569300c2a9bb79 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 27 Feb 2010 07:45:12 +0000 Subject: [PATCH] sys_sdl.c: renamed filelength to Sys_filelength in order to avoid conflicts when compiling for windows. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@85 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/sys_sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Quake/sys_sdl.c b/Quake/sys_sdl.c index b240c5ad..36ae5eba 100644 --- a/Quake/sys_sdl.c +++ b/Quake/sys_sdl.c @@ -42,7 +42,7 @@ int findhandle (void) return -1; } -int filelength (FILE *f) +int Sys_filelength (FILE *f) { int pos; int end; @@ -72,7 +72,7 @@ int Sys_FileOpenRead (char *path, int *hndl) { sys_handles[i] = f; *hndl = i; - retval = filelength(f); + retval = Sys_filelength(f); } return retval;