summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-10-01 10:43:02 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-10-01 10:43:02 +0000
commit83cf5ffeda21dbc2d6c3dadbe5a5cd04567b8bf5 (patch)
treee3e9c171e2a706d6a80547e521e024e9bb456326 /gdk-pixbuf
parent97f9dcd7a3e558afaed6fb07d9fcc0616a4b1820 (diff)
downloadgdk-pixbuf-83cf5ffeda21dbc2d6c3dadbe5a5cd04567b8bf5.tar.gz
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
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/io-icns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk-pixbuf/io-icns.c b/gdk-pixbuf/io-icns.c
index 295e438f6..eee7dcc84 100644
--- a/gdk-pixbuf/io-icns.c
+++ b/gdk-pixbuf/io-icns.c
@@ -19,7 +19,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef _WIN32
#define _GNU_SOURCE
+#endif
#include <stdlib.h>
#include <string.h>
#include <errno.h>