app/errors.c app/main.c app/file/gimprecentlist.c libgimpbase/gimpsignal.c

2006-06-16  Manish Singh  <yosh@gimp.org>

        * app/errors.c
        * app/main.c
        * app/file/gimprecentlist.c
        * libgimpbase/gimpsignal.c
        * libgimp/gimp.c
        * modules/controller_midi.c
        * plug-ins/common/gqbist.c: use _GNU_SOURCE instead of the other
        _FOO_SOURCE variables to support -ansi -pedantic on glibc systems,
        since anything else breaks compilation of otherwise working code.
        Fixes bug #344203.
This commit is contained in:
Manish Singh 2006-06-16 16:21:35 +00:00 committed by Manish Singh
parent 0d5e9ed447
commit f548b65329
7 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,16 @@
2006-06-16 Manish Singh <yosh@gimp.org>
* app/errors.c
* app/main.c
* app/file/gimprecentlist.c
* libgimpbase/gimpsignal.c
* libgimp/gimp.c
* modules/controller_midi.c
* plug-ins/common/gqbist.c: use _GNU_SOURCE instead of the other
_FOO_SOURCE variables to support -ansi -pedantic on glibc systems,
since anything else breaks compilation of otherwise working code.
Fixes bug #344203.
2006-06-16 Sven Neumann <neumann@jpk.com>
* themes/Default/images/Makefile.am

View File

@ -18,7 +18,7 @@
#include "config.h"
#define _POSIX_SOURCE /* need the POSIX signal API */
#define _GNU_SOURCE /* need the POSIX signal API */
#include <signal.h>
#include <stdarg.h>

View File

@ -18,8 +18,7 @@
#include "config.h"
#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */
#define _SVID_SOURCE /* except for SA_RESTART, it seems */
#define _GNU_SOURCE /* for the sigaction stuff */
#include <stdio.h>
#include <stdlib.h>

View File

@ -21,8 +21,7 @@
#include "config.h"
#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */
#define _SVID_SOURCE /* except for SA_RESTART, it seems */
#define _GNU_SOURCE /* for the sigaction stuff */
#include <errno.h>
#include <stdarg.h>

View File

@ -21,7 +21,7 @@
#include "config.h"
#define _POSIX_C_SOURCE 199309L /* all the sigaction stuff is POSIX */
#define _GNU_SOURCE /* for the sigaction stuff */
#include <glib.h>

View File

@ -22,7 +22,7 @@
#include "config.h"
#define _BSD_SOURCE /* the ALSA headers need this */
#define _GNU_SOURCE /* the ALSA headers need this */
#include <errno.h>
#include <fcntl.h>

View File

@ -29,7 +29,7 @@
#include "config.h"
#define _POSIX_SOURCE /* need PATH_MAX */
#define _GNU_SOURCE /* need PATH_MAX */
#include <string.h>
#include <limits.h>