--- ray/src/common/color.c 2003/07/27 22:12:01 2.13 +++ ray/src/common/color.c 2004/09/14 02:53:50 2.15 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: color.c,v 2.13 2003/07/27 22:12:01 schorsch Exp $"; +static const char RCSid[] = "$Id: color.c,v 2.15 2004/09/14 02:53:50 greg Exp $"; #endif /* * color.c - routines for color calculations. @@ -16,6 +16,13 @@ static const char RCSid[] = "$Id: color.c,v 2.13 2003/ #include #include "color.h" + +#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ +#undef getc +#undef putc +#define getc getc_unlocked +#define putc putc_unlocked +#endif #define MINELEN 8 /* minimum scanline length for encoding */ #define MAXELEN 0x7fff /* maximum scanline length for encoding */