Remove _GNU_SOURCE macro

After some research, the _GNU_SOURCE does not affect any function call
anymore. To avoid future failures on other systems not using glibc,
_GNU_SOURCE gets removed.
This commit is contained in:
Benedikt Heine 2017-10-08 02:15:19 +02:00
parent e8e4af9ea3
commit be3636c679
6 changed files with 0 additions and 6 deletions

View File

@ -1,6 +1,5 @@
/* copyright 2012 - 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2012 - 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#define XLIB_ILLEGAL_ACCESS #define XLIB_ILLEGAL_ACCESS
#include "dunst.h" #include "dunst.h"

View File

@ -1,6 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#include "markup.h" #include "markup.h"
#include <assert.h> #include <assert.h>

View File

@ -1,6 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#include "menu.h" #include "menu.h"
#include <errno.h> #include <errno.h>

View File

@ -1,6 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#include "notification.h" #include "notification.h"
#include <assert.h> #include <assert.h>

View File

@ -1,6 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#include "option_parser.h" #include "option_parser.h"
#include <glib.h> #include <glib.h>

View File

@ -1,5 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#include "utils.h" #include "utils.h"
#include <assert.h> #include <assert.h>