summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk-pixbuf/ChangeLog5
-rw-r--r--gdk-pixbuf/io-icns.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index fe218bf80a..650ca00d41 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -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
diff --git a/gdk-pixbuf/io-icns.c b/gdk-pixbuf/io-icns.c
index 295e438f65..eee7dcc849 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>