mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-26 05:40:49 +00:00
Fix includes.
filelength() is unused and breaks compile on mingw32.
This commit is contained in:
parent
b9d6599958
commit
4d03867938
1 changed files with 5 additions and 3 deletions
|
@ -17,13 +17,13 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
// sys_win.h
|
// sys_win.c -- Win32 system interface code
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
#include "winquake.h"
|
#include "winquake.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "errno.h"
|
#include <errno.h>
|
||||||
#include "fcntl.h"
|
#include <fcntl.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#define MINIMUM_WIN_MEMORY 0x0c00000
|
#define MINIMUM_WIN_MEMORY 0x0c00000
|
||||||
|
@ -76,6 +76,7 @@ FILE IO
|
||||||
===============================================================================
|
===============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
================
|
================
|
||||||
filelength
|
filelength
|
||||||
|
@ -93,6 +94,7 @@ int filelength (FILE *f)
|
||||||
|
|
||||||
return end;
|
return end;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int Sys_FileTime (char *path)
|
int Sys_FileTime (char *path)
|
||||||
|
|
Loading…
Reference in a new issue