mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 16:50:43 +01:00
core: use _GNU_SOURCE consistently
This commit is contained in:
parent
641af69086
commit
ba5a7024bd
4 changed files with 4 additions and 6 deletions
|
|
@ -18,8 +18,6 @@
|
|||
* Copyright (C) 2008 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@
|
|||
* Copyright (C) 2007 - 2008 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -434,6 +434,9 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
# Define _GNU_SOURCE for various things like strcasestr()
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||
|
||||
GTK_DOC_CHECK(1.0)
|
||||
|
||||
dnl
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@ test_crypto_SOURCES = \
|
|||
test-crypto.c
|
||||
|
||||
test_crypto_CPPFLAGS = \
|
||||
$(GLIB_CFLAGS) \
|
||||
-D_GNU_SOURCE
|
||||
$(GLIB_CFLAGS)
|
||||
|
||||
test_crypto_LDADD = \
|
||||
$(GLIB_LIBS) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue