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

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

	* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
	newest mingw headers.


svn path=/trunk/; revision=21555
This commit is contained in:
Tor Lillqvist 2008-10-01 10:43:02 +00:00 committed by Tor Lillqvist
parent dd41692b20
commit 669baea0ff
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-10-01 Tor Lillqvist <tml@novell.com>
* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
newest mingw headers.
2008-09-23 13:28:23 Tim Janik <timj@imendio.com>
* gdk-pixdata.c: prevent RLE encoding of 1x1 pixel images, since the

View File

@ -19,7 +19,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef _WIN32
#define _GNU_SOURCE
#endif
#include <stdlib.h>
#include <string.h>
#include <errno.h>