summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>