X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/74fde0f44f68a14d920db4d24626984e2964368d..aac6be13316f360bb2df46d6708ad9eea6059dc5:/src/conf_post.h diff --git a/src/conf_post.h b/src/conf_post.h index 6f6af3d3e0..a995acfd91 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -309,10 +309,12 @@ extern void _DebPrint (const char *fmt, ...); /* To use the struct hack with N elements, declare the struct like this: struct s { ...; t name[FLEXIBLE_ARRAY_MEMBER]; }; and allocate (offsetof (struct s, name) + N * sizeof (t)) bytes. - - This macro used to expand to something different on pre-C99 compilers. - FIXME: Remove it, and remove all uses. */ -#define FLEXIBLE_ARRAY_MEMBER + IBM xlc 12.1 claims to do C99 but mishandles flexible array members. */ +#ifdef __IBMC__ +# define FLEXIBLE_ARRAY_MEMBER 1 +#else +# define FLEXIBLE_ARRAY_MEMBER +#endif /* Use this to suppress gcc's `...may be used before initialized' warnings. */ #ifdef lint