From 6c08680e2cb04006e15333aa8255be678ffc67d5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 1 Oct 2008 11:02:51 +0000 Subject: [PATCH] Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers. 2008-10-01 Tor Lillqvist * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers. svn path=/trunk/; revision=21559 --- ChangeLog | 5 +++++ gtk/gtkscalebutton.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 03be98bcb9..a3deb7c10f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-01 Tor Lillqvist + + * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it + confuses newest mingw headers. + 2008-10-01 Tor Lillqvist * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state): diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index ac491e6b79..c70573bc93 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -35,7 +35,9 @@ #include "config.h" +#ifndef _WIN32 #define _GNU_SOURCE +#endif #include #include #include