]> Pileus Git - ~andy/gtk/commitdiff
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
authorTor Lillqvist <tml@novell.com>
Wed, 1 Oct 2008 11:02:51 +0000 (11:02 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 1 Oct 2008 11:02:51 +0000 (11:02 +0000)
2008-10-01  Tor Lillqvist  <tml@novell.com>

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

svn path=/trunk/; revision=21559

ChangeLog
gtk/gtkscalebutton.c

index 03be98bcb91556f42c4559211859ec3f0d6f353c..a3deb7c10ff959bd8e56f0698a4ce3ef83034c71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-01  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
+       confuses newest mingw headers.
+
 2008-10-01  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
index ac491e6b790d0e77faebc8e0ce057c6f950b0321..c70573bc933e2e8433d397a62759b4cad7a42e4e 100644 (file)
@@ -35,7 +35,9 @@
 
 #include "config.h"
 
+#ifndef _WIN32
 #define _GNU_SOURCE
+#endif
 #include <math.h>
 #include <stdlib.h>
 #include <string.h>