From 0b120aecbc13901104ae628208532f82b0f7a2fc Mon Sep 17 00:00:00 2001 From: Forest Hale Date: Sun, 19 Nov 2000 23:47:56 +0000 Subject: [PATCH] __const was not defined on win32 --- source/quakefs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/quakefs.c b/source/quakefs.c index 2de42f8..f4c279c 100644 --- a/source/quakefs.c +++ b/source/quakefs.c @@ -68,6 +68,11 @@ #endif #include +// LordHavoc: win32 would not compile without this +#ifndef __const +#define __const const +#endif + #ifndef HAVE_FNMATCH_PROTO int fnmatch (__const char *__pattern, __const char *__string, int __flags); #endif