Do not redefine GNU source in platform for POSIX

This commit is contained in:
Lorenz Meier
2015-12-01 13:50:12 +01:00
parent 5f9da470bb
commit a54b40c457
4 changed files with 2 additions and 12 deletions
@@ -41,9 +41,6 @@
#include <px4_config.h>
#include <px4_defines.h>
#include <px4_posix.h>
#ifdef __PX4_LINUX
#define _GNU_SOURCE
#endif
#include <pthread.h>
#include <stdint.h>
#include <signal.h>
@@ -45,9 +45,6 @@
#include <stdio.h>
#include <unistd.h>
#include <queue.h>
#ifdef __PX4_LINUX
#define _GNU_SOURCE
#endif
#include <pthread.h>
#include <px4_workqueue.h>
#include <drivers/drv_hrt.h>