moved the location of the #include for limits.h, so MSVC would be able to build the tree.

This commit is contained in:
Thad Ward 2000-05-12 04:31:35 +00:00
parent af70d33ba9
commit 7f891971c7
3 changed files with 11 additions and 3 deletions

View file

@ -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.

View file

@ -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)
{

View file

@ -215,4 +215,3 @@
/* Define the name of the global config file */
#define GLOBAL_CFG_FILE ".\\qforge.cfg"