]> git.proxmox.com Git - libgit2.git/commitdiff
Fix macro redefinition warning
authorFallso <jordan.stopford@cristie.com>
Tue, 14 Jul 2015 14:33:56 +0000 (15:33 +0100)
committerFallso <jordan.stopford@cristie.com>
Wed, 15 Jul 2015 10:40:06 +0000 (11:40 +0100)
src/thread-utils.c

index c3baf411ad3c287ef767f44f3eb49d9878b1743d..dc9b2f09e9371f710d5e0d6ecc5669de4e212dd8 100644 (file)
@@ -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>