[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32624] trunk/blender/source/blender/ blenlib/BLI_winstuff.h: Silence warning about macro redefinition

Nathan Letwory nathan at letworyinteractive.com
Thu Oct 21 09:21:35 CEST 2010


Revision: 32624
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32624
Author:   jesterking
Date:     2010-10-21 09:21:34 +0200 (Thu, 21 Oct 2010)

Log Message:
-----------
Silence warning about macro redefinition

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_winstuff.h

Modified: trunk/blender/source/blender/blenlib/BLI_winstuff.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_winstuff.h	2010-10-21 07:18:38 UTC (rev 32623)
+++ trunk/blender/source/blender/blenlib/BLI_winstuff.h	2010-10-21 07:21:34 UTC (rev 32624)
@@ -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





More information about the Bf-blender-cvs mailing list