--- ray/src/common/readmesh.c 2003/07/30 10:11:06 2.8 +++ ray/src/common/readmesh.c 2004/04/29 14:36:49 2.12 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: readmesh.c,v 2.8 2003/07/30 10:11:06 schorsch Exp $"; +static const char RCSid[] = "$Id: readmesh.c,v 2.12 2004/04/29 14:36:49 greg Exp $"; #endif /* * Routines for reading a compiled mesh from a file @@ -7,12 +7,16 @@ static const char RCSid[] = "$Id: readmesh.c,v 2.8 200 #include -#include "standard.h" #include "platform.h" +#include "standard.h" #include "octree.h" #include "object.h" #include "mesh.h" #include "resolu.h" + +#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ +#define getc getc_unlocked +#endif static char *meshfn; /* input file name */ static FILE *meshfp; /* mesh file pointer */