Messages in this thread |  | | | From | David Howells <> | | Subject | Re: [PATCH 1/2] Add C99-style constructor macros for specific-sized integers | | Date | Mon, 03 Mar 2008 10:57:32 +0000 |
| |
H. Peter Anvin <hpa@zytor.com> wrote:
> +#define S8_C(x) x > +#define U8_C(x) x ## U > +#define S16_C(x) x > +#define U16_C(x) x ## U > +#define S32_C(x) x > +#define U32_C(x) x ## U > +#define S64_C(x) x ## LL > +#define U64_C(x) x ## ULL
And #if defined(__ASSEMBLY__), just splat x through as is.
David
|  |