Gnulib includes a module for ssize_t, but it doesn't ensure that
SSIZE_MAX is available. It seems that an ssize_t.h header file
with the following contents would be sufficient:
#include
#ifndef SSIZE_MAX
# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
#endif
A few of the source f
Ben Pfaff <[EMAIL PROTECTED]> writes:
> Gnulib includes a module for ssize_t, but it doesn't ensure that
> SSIZE_MAX is available. It seems that an ssize_t.h header file
> with the following contents would be sufficient:
I really meant ssize_max.h, analogous to size_max.h. Or they
could be comb
Ben Pfaff <[EMAIL PROTECTED]> writes:
> I really meant ssize_max.h, analogous to size_max.h. Or they
> could be combined into one header file.
I think size_max.h is there only because SIZE_MAX is in different
headers on different systems. Is that also true for SSIZE_MAX?
I don't offhand recall
Paul Eggert <[EMAIL PROTECTED]> writes:
> Ben Pfaff <[EMAIL PROTECTED]> writes:
>
>> I really meant ssize_max.h, analogous to size_max.h. Or they
>> could be combined into one header file.
>
> I think size_max.h is there only because SIZE_MAX is in different
> headers on different systems. Is th