autofoo: Use AC_USE_SYSTEM_EXTENSIONS

Defining _GNU_SOURCE is then not needed.
This commit is contained in:
Kim Woelders 2022-11-10 18:19:51 +01:00
parent 9b198f0af9
commit 37332eb35e
4 changed files with 1 additions and 3 deletions

View File

@ -7,6 +7,7 @@ AC_CANONICAL_HOST
AM_INIT_AUTOMAKE(1.6 dist-xz -Wno-portability)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_USE_SYSTEM_EXTENSIONS
AC_C_BIGENDIAN
AC_PROG_CC
AM_PROG_AS

View File

@ -1,4 +1,3 @@
#define _GNU_SOURCE /* memmem() */
#include "config.h"
#include "Imlib2_Loader.h"

View File

@ -1,7 +1,6 @@
/*
* XBM loader
*/
#define _GNU_SOURCE /* memmem() */
#include "config.h"
#include "Imlib2_Loader.h"

View File

@ -1,4 +1,3 @@
#define _GNU_SOURCE /* memmem() */
#include "config.h"
#include "Imlib2_Loader.h"