[sane-devel] canon-sane.c:2113: error: `SSIZE_MAX' undeclared

Franz Bakan Franz Bakan" <fbakan@gmx.net
Mon, 04 Jul 2005 00:07:01 +0200 (CEST)


Hi Ulrich,

On Fri, 1 Jul 2005 14:15:45 +0200 (METDST), Ulrich Deiters wrote:

>I will probably
>reset the Canon backend this evening (German time) when I am home.

I noticed, that you updated canon-backend code in CVS.
SSIZE_MAX still appears in canon-sane.c.

So do you think the problem could be solved by following
Gerhards suggestion?

which was adding

#ifndef SSIZE_MAX
# define SSIZE_MAX LONG_MAX
#endif

to sanei_backends.h as here is also the PATH_MAX stuff after including <limits.h>

Franz