[PATCH] libtest: Add T_thread_switch_record()
Gedare Bloom
gedare at rtems.org
Mon Aug 10 15:23:09 UTC 2020
On Mon, Aug 10, 2020 at 4:04 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> 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 should be
>
> #define T_ZERO_LENGH_ARRAY 1
>
typo: LENGTH?
> > +#define T_ZERO_LENGH_ARRAY_EXTENSION(n) ((n) - 1)
> > +#endif
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list