On Tue, Jan 08, 2019 at 02:28:35PM +0100, Sebastian Huber wrote: > libgomp/ > > * config/rtems/bar.c: Include "../linux/bar.c" and delete copy > and paste code.
> libgomp/config/rtems/bar.c | 183 > +-------------------------------------------- > 1 file changed, 2 insertions(+), 181 deletions(-) > > diff --git a/libgomp/config/rtems/bar.c b/libgomp/config/rtems/bar.c > index 8f92d60b325..c16c763b954 100644 > --- a/libgomp/config/rtems/bar.c > +++ b/libgomp/config/rtems/bar.c > @@ -29,6 +29,7 @@ > > #include "libgomp.h" > #include "bar.h" > +#define GOMP_WAIT_H 1 Maybe move the above define right before the following line. > +#include "../linux/bar.c" Ok with that change. Jakub