summaryrefslogtreecommitdiff
path: root/legacy/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-03-03 21:12:45 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-03-03 21:12:45 +0000
commitfaaadaec77c523f77f6739d9bb98845bb65802d2 (patch)
treea6552ef5a87a3dd0978c1a40e01f09b3ea26c772 /legacy/evil
parentf2247fb7e367bc3f586c5afb7ec8118c86a3d8b5 (diff)
Evil: some headers could define WIN32_LEAN_AND_MEAN. Prevent multiple
define of that macro SVN revision: 57505
Diffstat (limited to 'legacy/evil')
-rw-r--r--legacy/evil/src/lib/Evil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/evil/src/lib/Evil.h b/legacy/evil/src/lib/Evil.h
index 1fbb30f306..ad8198116b 100644
--- a/legacy/evil/src/lib/Evil.h
+++ b/legacy/evil/src/lib/Evil.h
@@ -56,7 +56,9 @@ extern "C" {
56#endif 56#endif
57 57
58 58
59#define WIN32_LEAN_AND_MEAN 59#ifndef WIN32_LEAN_AND_MEAN
60# define WIN32_LEAN_AND_MEAN
61#endif
60#include <windows.h> 62#include <windows.h>
61#undef WIN32_LEAN_AND_MEAN 63#undef WIN32_LEAN_AND_MEAN
62 64