build: Drop redundant _GNU_SOURCE definitions

It’s defined in `meson.build` now. See the previous commit.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2020-07-06 11:27:28 +01:00
parent 50679dba04
commit eae4eb4ad7
9 changed files with 0 additions and 30 deletions

View File

@ -56,10 +56,6 @@
#include "config.h"
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <assert.h>
#include <endian.h>
#include <errno.h>

View File

@ -54,10 +54,6 @@
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <assert.h>
#include <errno.h>
#include <poll.h>

View File

@ -18,10 +18,6 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#define G_LOG_DOMAIN "sysprof-details-page"
#include "config.h"

View File

@ -20,10 +20,6 @@
#define G_LOG_DOMAIN "sysprof-profiler-assistant"
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include "config.h"
#include <sysprof.h>

View File

@ -20,10 +20,6 @@
#pragma once
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#ifdef HAVE_EXECINFO_H
# include <execinfo.h>
#endif

View File

@ -18,8 +18,6 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define _GNU_SOURCE
#include "config.h"
#include <dlfcn.h>

View File

@ -18,8 +18,6 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define _GNU_SOURCE
#include "config.h"
#include <dlfcn.h>

View File

@ -22,10 +22,6 @@
#include "config.h"
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <errno.h>
#include <string.h>
#include <stdio.h>

View File

@ -18,8 +18,6 @@
* SPDX-License-ntifier: GPL-3.0-or-later
*/
#define _GNU_SOURCE
#include "sysprof-turbostat.h"
#include <errno.h>