forked from Imagelibrary/rtems
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