--- ray/src/common/wordfile.c 2003/06/07 12:50:21 2.10 +++ ray/src/common/wordfile.c 2005/06/10 16:42:11 2.15 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: wordfile.c,v 2.10 2003/06/07 12:50:21 schorsch Exp $"; +static const char RCSid[] = "$Id: wordfile.c,v 2.15 2005/06/10 16:42:11 greg Exp $"; #endif /* * Load whitespace separated words from a file into an array. @@ -17,16 +17,13 @@ static const char RCSid[] = "$Id: wordfile.c,v 2.10 20 #include #include -#ifdef _WIN32 - #include -#endif - +#include "platform.h" #include "standard.h" -#define MAXFLEN 8192 /* file must be smaller than this */ - -extern char *bmalloc(); +#ifndef MAXFLEN +#define MAXFLEN 65536 /* file must be smaller than this */ +#endif int