summaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-06-10 00:05:56 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-09 16:55:05 -0700
commitd11ca6bd606d5f9ba341f722af114b82093fe289 (patch)
tree31e5f129ff2ab3f4c54050b3649420740d2cf35e /windows.c
parent863f8850124a29cb486452a50e6e9f35e1d60ab8 (diff)
downloadsubsurface-d11ca6bd606d5f9ba341f722af114b82093fe289.tar.gz
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>
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/windows.c b/windows.c
index a8b7c55a6..099ad502e 100644
--- a/windows.c
+++ b/windows.c
@@ -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>