rtems-bsd-cxx: Undefine _GNU_SOURCE

At least the powerpc C++ compiler defines currently _GNU_SOURCE due to a GCC
configuration error.  This leads to conflicting qsort_r() definitions.

As a workaround undefine _GNU_SOURCE for this C++ compatibility test file.

Update #4078.
This commit is contained in:
Sebastian Huber 2020-09-13 10:07:50 +02:00
parent e5f8fd3251
commit d2d3fabf30

View File

@ -31,6 +31,7 @@
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#undef _GNU_SOURCE
#include <machine/rtems-bsd-kernel-space.h>