[m-dev.] diff: fix problem with <inttypes.h> on Solaris

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Jun 1 09:38:39 AEST 1999


> +#ifndef MR_HAVE_INT_LEASTN_T
>    typedef unsigned MR_INT_LEAST32_TYPE	uint_least32_t;
>    typedef MR_INT_LEAST32_TYPE		int_least32_t;
>    typedef unsigned MR_INT_LEAST16_TYPE	uint_least16_t;
> @@ -41,6 +52,11 @@
>    typedef signed char			int_least8_t;
>  #endif

This makes the assumption that if any of {u,}int_least{8,16,32}_t are defined,
then all are. I think this is reasonable, but we have to watch out for systems
on which it is nevertheless false :-(

I think the change is fine; go ahead and commit it.

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list