mirror of https://github.com/GNOME/gimp.git
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:
parent
0d5e9ed447
commit
f548b65329
13
ChangeLog
13
ChangeLog
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue