[cvs] bogofilter/src bftypes.h,1.3,1.4
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@pr...> - 2004-01-31 22:33:34
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19010/src Modified Files: bftypes.h Log Message: If ssize_t is missing, typedef int ssize_t. Needed for SunOS 4.1.X, reported by Charles Hewson. Index: bftypes.h =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/bftypes.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- bftypes.h 30 Jan 2004 20:54:31 -0000 1.3 +++ bftypes.h 31 Jan 2004 22:31:36 -0000 1.4 @@ -109,6 +109,11 @@ typedef unsigned int uint; #endif +/* SunOS 4.1.X needs this */ +#ifndef HAVE_SSIZE_T +typedef int ssize_t; +#endif + /* prevent db.h from redefining the types above */ #undef __BIT_TYPES_DEFINED__ #define __BIT_TYPES_DEFINED__ 1 |