mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +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 <config.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <limits.h>
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -58,6 +57,12 @@
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#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.
|
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
|
#ifdef HAVE_MALLOC_H
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
#include <limits.h>
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <quakeio.h>
|
#include <quakeio.h>
|
||||||
|
@ -47,6 +46,11 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define _POSIX_
|
||||||
|
#endif
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
Qexpand_squiggle(const char *path, char *dest)
|
Qexpand_squiggle(const char *path, char *dest)
|
||||||
{
|
{
|
||||||
|
|
|
@ -215,4 +215,3 @@
|
||||||
|
|
||||||
/* Define the name of the global config file */
|
/* Define the name of the global config file */
|
||||||
#define GLOBAL_CFG_FILE ".\\qforge.cfg"
|
#define GLOBAL_CFG_FILE ".\\qforge.cfg"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue