[Orxonox-commit 3744] r8424 - code/trunk/src/orxonox/graphics

rgrieder at orxonox.net rgrieder at orxonox.net
Mon May 9 05:22:56 CEST 2011


Author: rgrieder
Date: 2011-05-09 05:22:56 +0200 (Mon, 09 May 2011)
New Revision: 8424

Modified:
   code/trunk/src/orxonox/graphics/Backlight.cc
Log:
Build fix for Ogre 1.6 on Windows.

Modified: code/trunk/src/orxonox/graphics/Backlight.cc
===================================================================
--- code/trunk/src/orxonox/graphics/Backlight.cc	2011-05-09 03:06:49 UTC (rev 8423)
+++ code/trunk/src/orxonox/graphics/Backlight.cc	2011-05-09 03:22:56 UTC (rev 8424)
@@ -32,6 +32,9 @@
 #include <OgreRibbonTrail.h>
 #include <OgreSceneManager.h>
 #include <OgreSceneNode.h>
+// windows.h is getting included above on Windows...
+#undef max
+#undef min
 
 #include "util/Exception.h"
 #include "core/CoreIncludes.h"




More information about the Orxonox-commit mailing list