aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2023-06-12 19:53:57 +0200
committerGitHub <noreply@github.com>2023-06-12 19:53:57 +0200
commit4e284b5e40f08e708af9ddeb9ca04d9642636dcd (patch)
treec7c88630531d073682d476e1af3cdbaddf3779f9 /tests/unit
parent8ea0eaa0d0c4a3be05f67ef7fa1d22c2579cf7d1 (diff)
Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/unit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unit/unit.c b/tests/unit/unit.c
index 5212c768e..37ed1315d 100644
--- a/tests/unit/unit.c
+++ b/tests/unit/unit.c
@@ -19,9 +19,6 @@
*/
#ifdef __linux__
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
#include <sched.h>
#endif /* linux */