Kai Tietz wrote:
> 2009/4/4 Danny Smith <dannysm...@clear.net.nz>:

>> in "mingw-stdint.h" for sanity reason.  I will need Kai's help on 32/64
>> bit #ifdefs

> Thanks for the patch. Are those defines really just for default target 
> necessary? Shouldn't be the defines target dependent? Something like
> '#define UINTPTR_TYPE (TARGET_64BIT ? "long long int" : "int")' ?

  The config/newlib-stdint.h header provides a working example of adapting to
the varying sizes of different types, by using the xxx_TYPE_SIZE definitions.
 Assuming those change properly in response to TARGET_64BIT, they might be
considered more canonical than effectively inferring their values from the
target flag.

    cheers,
      DaveK


Reply via email to