definitions for SSIZE_MAX and ssize_t are here
http://www.opengroup.org/onlinepubs/007908799/xsh/limits.h.html http://www.opengroup.org/onlinepubs/007908799/xsh/systypes.h.html
). It looks like Xpm.c wants the maximum size of a size_t, i.e. SIZE_MAX.
To work around the missing SIZE_MAX (it is also not defined on IRIX systems),
you could use
#ifndef SIZE_MAX
#include <limits.h>
#include <stddef.h>
#define SIZE_MAX ((sizeof(size_t) >= sizeof(unsigned long)) ? ULONG_MAX : ((siz\
eof(size_t) >= sizeof(unsigned int)) ? UINT_MAX : ((sizeof(size_t) >= sizeof(un\
signed short)) ? USHRT_MAX : UCHAR_MAX)))
#endif
Eric Branlund
On Wednesday, October 20, 2004, at 07:09 AM, Dave Williss wrote:
It doesn't seem to be defined at all in any of the Windows include files. The closest there is is an SSIZE_MAX (note double S) which is defined to be 32768, but only if _POSIX_ is defined. And there's no comment that says what SSIZE_MAX is for. I can only assume it's the maximum size of something starting with an S :-)
----- Original Message ----- From: "Danny Backx" <[EMAIL PROTECTED]>
To: "Dave Williss" <[EMAIL PROTECTED]>
Cc: "LessTif Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 11:20 AM
Subject: Re: [Lesstif-discuss] Problem building from latest CVS
On my linux box, it's in <stdint.h> . Could you do a quick check so we can fix this better ?
Danny
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Lesstif-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

