Browse Source

Fix macro redefinition warning

Younguk Kim 7 years ago
parent
commit
d22da73a4c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/express/checksumHashGenerator.I

+ 2 - 0
panda/src/express/checksumHashGenerator.I

@@ -13,7 +13,9 @@
 
 
 #ifdef _WIN32
 #ifdef _WIN32
 // Needed for PtrToLong, below
 // Needed for PtrToLong, below
+#ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN 1
 #define WIN32_LEAN_AND_MEAN 1
+#endif
 #include <windows.h>
 #include <windows.h>
 #endif
 #endif