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
This commit is contained in:
Tor Lillqvist 2008-10-01 11:02:51 +00:00 committed by Tor Lillqvist
parent 139965125b
commit 6c08680e2c
2 changed files with 7 additions and 0 deletions

View File

@ -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> 2008-10-01 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state): * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):

View File

@ -35,7 +35,9 @@
#include "config.h" #include "config.h"
#ifndef _WIN32
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>