win32: define _WIN32_WINNT globally

Rather than defining _WIN32_WINNT only in a handful of files, define
it in config.h, like we do with _GNU_SOURCE.

(Also remove a "#define WIN32_LEAN_AND_MEAN" that isn't really all
that useful.)

https://bugzilla.gnome.org/show_bug.cgi?id=688109
This commit is contained in:
Dan Winship
2012-11-10 10:54:43 -05:00
parent 3ac6cfaeaa
commit 731b469908
8 changed files with 2 additions and 10 deletions

View File

@@ -21,8 +21,6 @@
*
*/
#define _WIN32_WINNT 0x0400
#include "config.h"
#include "gwin32directorymonitor.h"
#include <windows.h>