aboutsummaryrefslogtreecommitdiffstats
path: root/q3asm/cmdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'q3asm/cmdlib.c')
-rw-r--r--q3asm/cmdlib.c5
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;