windows.c: prevent a warning due to #define _WIN32_WINNT...

mingw 4.8.2 complains:
warning: "_WIN32_WINNT" redefined

0x500 suits our needs windows.c wise.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2014-06-10 00:05:56 +03:00 committed by Dirk Hohndel
parent 863f885012
commit d11ca6bd60

View file

@ -2,6 +2,7 @@
/* implements Windows specific functions */
#include "dive.h"
#include "display.h"
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x500
#include <windows.h>
#include <shlobj.h>