summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFallso <jordan.stopford@cristie.com>2015-07-14 15:33:56 +0100
committerFallso <jordan.stopford@cristie.com>2015-07-15 11:40:06 +0100
commitcec3569f250379aaa9aa4cec4fb49d4a78d6ee11 (patch)
tree0386304fb1e2acd821743c9bd4ada7d530391c1e
parent159061a8ce206b694448313a84387600408f6029 (diff)
downloadlibgit2-cec3569f250379aaa9aa4cec4fb49d4a78d6ee11.tar.gz
Fix macro redefinition warning
-rw-r--r--src/thread-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread-utils.c b/src/thread-utils.c
index c3baf411a..dc9b2f09e 100644
--- a/src/thread-utils.c
+++ b/src/thread-utils.c
@@ -8,7 +8,9 @@
#include "thread-utils.h"
#ifdef _WIN32
+#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
+#endif
# include <windows.h>
#elif defined(hpux) || defined(__hpux) || defined(_hpux)
# include <sys/pstat.h>