mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-22 13:35:05 +02:00
build: Do not define already defined _GNU_SOURCE
The macro is defined by configure on config.h which is now implicitly included by all source files.
This commit is contained in:
parent
8d2f12d7f0
commit
980f04f77b
@ -8,7 +8,7 @@ AM_CPPFLAGS = \
|
||||
-isystem $(top_srcdir)/include/bsd/ \
|
||||
-include $(top_builddir)/config.h \
|
||||
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
|
||||
-D_GNU_SOURCE -D__REENTRANT
|
||||
-D__REENTRANT
|
||||
|
||||
EXTRA_DIST = \
|
||||
libbsd.map \
|
||||
|
@ -24,8 +24,6 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE 1
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdio_ext.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user