mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-08 07:12:00 +00:00
__const was not defined on win32
This commit is contained in:
parent
2231b97572
commit
0b120aecbc
1 changed files with 5 additions and 0 deletions
|
@ -68,6 +68,11 @@
|
||||||
#endif
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
// LordHavoc: win32 would not compile without this
|
||||||
|
#ifndef __const
|
||||||
|
#define __const const
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_FNMATCH_PROTO
|
#ifndef HAVE_FNMATCH_PROTO
|
||||||
int fnmatch (__const char *__pattern, __const char *__string, int __flags);
|
int fnmatch (__const char *__pattern, __const char *__string, int __flags);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue