diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-04 01:49:02 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-04 01:49:02 +0000 |
commit | 91db83f0cc7c564ff6c853eeb4e790732dae81cd (patch) | |
tree | a7cc534b6649599c0422f52dbe3f648f9f560697 /q3asm/cmdlib.c | |
parent | 45d6a88841f0db650d615522b1f6594ea72ceb7e (diff) | |
download | ioquake3-aero-91db83f0cc7c564ff6c853eeb4e790732dae81cd.tar.gz ioquake3-aero-91db83f0cc7c564ff6c853eeb4e790732dae81cd.zip |
* lcc and q3asm now build with MinGW
git-svn-id: svn://svn.icculus.org/quake3/trunk@133 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'q3asm/cmdlib.c')
-rw-r--r-- | q3asm/cmdlib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/q3asm/cmdlib.c b/q3asm/cmdlib.c index 56c70c0..f3d8554 100644 --- a/q3asm/cmdlib.c +++ b/q3asm/cmdlib.c @@ -636,9 +636,10 @@ int Q_filelength (FILE *f) return end; } -#ifndef MAXPATH -#define MAX_PATH 4096 +#ifdef MAX_PATH +#undef MAX_PATH #endif +#define MAX_PATH 4096 static FILE* myfopen(const char* filename, const char* mode) { char* p; |