Silence warning about macro redefinition
authorNathan Letwory <nathan@letworyinteractive.com>
Thu, 21 Oct 2010 07:21:34 +0000 (07:21 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Thu, 21 Oct 2010 07:21:34 +0000 (07:21 +0000)
source/blender/blenlib/BLI_winstuff.h

index e868989..b66790f 100644 (file)
@@ -41,6 +41,7 @@
 #define WIN32_LEAN_AND_MEAN
 
 #ifndef WIN32_SKIP_HKEY_PROTECTION
+#undef HKEY
 #define HKEY WIN32_HKEY                                // prevent competing definitions
 #include <windows.h>
 #undef HKEY