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 /src | |
parent | 8ea0eaa0d0c4a3be05f67ef7fa1d22c2579cf7d1 (diff) |
Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_classify.c | 2 | ||||
-rw-r--r-- | src/lib/third_party/src/roaring.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/ndpi_classify.c b/src/lib/ndpi_classify.c index 3dba2207e..538eb2b82 100644 --- a/src/lib/ndpi_classify.c +++ b/src/lib/ndpi_classify.c @@ -41,8 +41,6 @@ * */ -#define _GNU_SOURCE - #include <stdio.h> #include <ctype.h> // #include <sys/time.h> diff --git a/src/lib/third_party/src/roaring.c b/src/lib/third_party/src/roaring.c index ab95ab6e8..f8ee417da 100644 --- a/src/lib/third_party/src/roaring.c +++ b/src/lib/third_party/src/roaring.c @@ -81,9 +81,6 @@ #ifndef INCLUDE_PORTABILITY_H_ #define INCLUDE_PORTABILITY_H_ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif // _GNU_SOURCE #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS 1 #endif // __STDC_FORMAT_MACROS |