aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-11-27 16:13:04 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-11-27 21:28:31 +0100
commit00788416176a6f143e7a6484402d0ef8dd73f292 (patch)
treee62a79cdfe5fd7d6885bb2780041cebf88e94682
parent5f083afde18aac9ae0daeef4f04e33fa530f2126 (diff)
prevent Windows redefinition warning cause by compat.h
-rw-r--r--src/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 1deef493c2..f5e549d79c 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -11,7 +11,9 @@
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0501
+#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
+#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif