diff options
author | Toni <matzeton@googlemail.com> | 2023-06-12 19:53:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 19:53:57 +0200 |
commit | 4e284b5e40f08e708af9ddeb9ca04d9642636dcd (patch) | |
tree | c7c88630531d073682d476e1af3cdbaddf3779f9 /tests | |
parent | 8ea0eaa0d0c4a3be05f67ef7fa1d22c2579cf7d1 (diff) |
Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/performance/gcrypt.c | 2 | ||||
-rw-r--r-- | tests/unit/unit.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/tests/performance/gcrypt.c b/tests/performance/gcrypt.c index febc18f1b..e6f59060b 100644 --- a/tests/performance/gcrypt.c +++ b/tests/performance/gcrypt.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE -#define _GNU_SOURCE #include <stdio.h> #include <stdint.h> #include <stdlib.h> 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 */ |