mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 05:47:17 +08:00
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:
parent
e5f8fd3251
commit
d2d3fabf30
@ -31,6 +31,7 @@
|
||||
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#define __STDC_CONSTANT_MACROS
|
||||
#undef _GNU_SOURCE
|
||||
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user