[m-dev.] diff: MR_int_leastN_t
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Aug 27 04:25:58 AEST 1999
On 23-Aug-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
>
> runtime/mercury_bootstrap.h:
> Add #defines mapping e.g. int_least8_t to MR_int_least8_t, since
> C sources generated by previous compiler versions may have them.
...
> --- mercury_bootstrap.h 1999/08/12 09:58:48 1.7
> +++ mercury_bootstrap.h 1999/08/20 07:05:31
> @@ -15,6 +15,17 @@
> #ifndef MERCURY_BOOTSTRAP_H
> #define MERCURY_BOOTSTRAP_H
>
> +#define uintptr_t MR_uintptr_t
> +#define intptr_t MR_intptr_t
> +#define uint_least64_t MR_uint_least64_t
> +#define int_least64_t MR_int_least64_t
> +#define uint_least32_t MR_uint_least32_t
> +#define int_least32_t MR_int_least32_t
> +#define uint_least16_t MR_uint_least16_t
> +#define int_least16_t MR_int_least16_t
> +#define uint_least8_t MR_uint_least8_t
> +#define int_least8_t MR_int_least8_t
> +
> #ifndef MR_NO_BACKWARDS_COMPAT
Shouldn't that go inside the `#ifndef MR_NO_BACKWARDS_COMPAT' section?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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