summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-10-01 11:02:51 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-10-01 11:02:51 +0000
commit6c08680e2cb04006e15333aa8255be678ffc67d5 (patch)
tree50f150b775583b0470b0931d8eaed95638760676 /gtk/gtkscalebutton.c
parent139965125b2e9b3091a8fb9d1daa2277e8536734 (diff)
downloadgtk+-6c08680e2cb04006e15333aa8255be678ffc67d5.tar.gz
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
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
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r--gtk/gtkscalebutton.c2
1 files changed, 2 insertions, 0 deletions
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 <math.h>
#include <stdlib.h>
#include <string.h>