summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorkwolekr <mirrorisim@gmail.com>2013-02-23 12:30:13 -0500
committerkwolekr <mirrorisim@gmail.com>2013-02-25 23:10:54 -0500
commit28c50c16cdeda7de39ed15c17094f3de01287d4c (patch)
tree687d15ba3504f9489df1a003652dbd45e821ff73 /src/debug.h
parent5bd50a2d9060f265d4c8d2fff062cac106ccab7c (diff)
downloadminetest-28c50c16cdeda7de39ed15c17094f3de01287d4c.tar.gz
minetest-28c50c16cdeda7de39ed15c17094f3de01287d4c.tar.bz2
minetest-28c50c16cdeda7de39ed15c17094f3de01287d4c.zip
Fix build on Windows
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index 69a215a42..56952427c 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -32,6 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
+ #ifndef _WIN32_WINNT
+ #define _WIN32_WINNT 0x0500
+ #endif
#include <windows.h>
#ifdef _MSC_VER
#include <eh.h>