mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-09 09:03:33 +00:00
Added _XOPEN_SOURCE definition to allow use of UNIX IPC.
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
#include <rtems/score/interr.h>
|
#include <rtems/score/interr.h>
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
#define _XOPEN_SOURCE
|
||||||
#define MALLOC_0_RETURNS_NULL
|
#define MALLOC_0_RETURNS_NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#include <rtems/score/interr.h>
|
#include <rtems/score/interr.h>
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
#define _XOPEN_SOURCE
|
||||||
#define MALLOC_0_RETURNS_NULL
|
#define MALLOC_0_RETURNS_NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user