Re: [PATCH] libtest: Add T_thread_switch_record()

2020-08-10 Thread Gedare Bloom
On Mon, Aug 10, 2020 at 4:04 AM Sebastian Huber wrote: > > > On 10/08/2020 12:01, Sebastian Huber wrote: > > +#if defined(__GNUC__) || __STDC_VERSION__ >= 199409L > > +#define T_ZERO_LENGH_ARRAY > > +#define T_ZERO_LENGH_ARRAY_EXTENSION(n) (n) > > +#else > > +#define T_ZERO_LENGH_ARRAY 0 > This sh

Re: [PATCH] libtest: Add T_thread_switch_record()

2020-08-10 Thread Sebastian Huber
On 10/08/2020 12:01, Sebastian Huber wrote: +#if defined(__GNUC__) || __STDC_VERSION__ >= 199409L +#define T_ZERO_LENGH_ARRAY +#define T_ZERO_LENGH_ARRAY_EXTENSION(n) (n) +#else +#define T_ZERO_LENGH_ARRAY 0 This should be #define T_ZERO_LENGH_ARRAY 1 +#define T_ZERO_LENGH_ARRAY_EXTENSION(n