mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +00:00
moved the location of the #include for limits.h, so MSVC would be able to build the tree.
This commit is contained in:
parent
af70d33ba9
commit
7f891971c7
3 changed files with 11 additions and 3 deletions
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include <config.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
@ -58,6 +57,12 @@
|
|||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _POSIX_
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
/*
|
||||
All of Quake's data access is through a hierchal file system, but the contents of the file system can be transparently merged from several sources.
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <quakeio.h>
|
||||
|
@ -47,6 +46,11 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _POSIX_
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
||||
void
|
||||
Qexpand_squiggle(const char *path, char *dest)
|
||||
{
|
||||
|
|
|
@ -215,4 +215,3 @@
|
|||
|
||||
/* Define the name of the global config file */
|
||||
#define GLOBAL_CFG_FILE ".\\qforge.cfg"
|
||||
|
||||
|
|
Loading…
Reference in a new issue