"E. Robert Tisdale" wrote:
> ark wrote:
>
> > Risking to invoke flames from one Tom St Denis of Ottawa 
> >
> > Is there any guarantee that, say,
> > sizeof(int) == sizeof(unsigned int)
> > sizeof(long) > sizeof(char)?
>
> Are you aware of the type definitions in <stdint.h>?
Only implied misinformation from Trollsdale this time. <stdint.h>
is a C99 artifact, and the type defined therein are only defined
when the implementation has suitable types. So you could do
something like:
#if defined(sometype)
#define mytype sometype
#else
#define mytype whatever
#endif
with suitable guards for a C99 system.
--
Chuck F () ()
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!