__const was not defined on win32

This commit is contained in:
Forest Hale 2000-11-19 23:47:56 +00:00
parent 2231b97572
commit 0b120aecbc
1 changed files with 5 additions and 0 deletions

View File

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