From d11ca6bd606d5f9ba341f722af114b82093fe289 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 10 Jun 2014 00:05:56 +0300 Subject: [PATCH] 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 Signed-off-by: Dirk Hohndel --- windows.c | 1 + 1 file changed, 1 insertion(+) 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 #include