: Don't #define _GNU_SOURCE on Windows as it confuses newest mingw

2008-10-01  Tor Lillqvist  <tml@novell.com>

	* app/widgets/gtkscalebutton.c: : Don't #define _GNU_SOURCE on
	Windows as it confuses newest mingw headers.


svn path=/trunk/; revision=27097
This commit is contained in:
Tor Lillqvist
2008-10-01 12:32:31 +00:00
committed by Tor Lillqvist
parent 0eb68211f3
commit 8d024f303d
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,8 @@
2008-10-01 Tor Lillqvist <tml@novell.com>
* app/plug-in/gimpplugin.c: Don't #define _GNU_SOURCE on Windows
as it confuses newest mingw headers.
* app/plug-in/gimpplugin.c
* app/widgets/gtkscalebutton.c: : Don't #define _GNU_SOURCE on
Windows as it confuses newest mingw headers.
2008-10-01 Sven Neumann <sven@gimp.org>

View File

@ -35,7 +35,9 @@
#include "config.h"
#ifndef _WIN32
#define _GNU_SOURCE
#endif
#include <math.h>
#include <stdlib.h>
#include <string.h>