[Orxonox-commit 3606] r8291 - code/branches/kicklib2/src/libraries/network

rgrieder at orxonox.net rgrieder at orxonox.net
Fri Apr 22 02:14:06 CEST 2011


Author: rgrieder
Date: 2011-04-22 02:14:05 +0200 (Fri, 22 Apr 2011)
New Revision: 8291

Modified:
   code/branches/kicklib2/src/libraries/network/NetworkPrecompiledHeaders.h
Log:
What a surprise: Fixed msvc 8 build again, related to ENet... I wonder who forgot to think about include order when designing these windows headers...

Modified: code/branches/kicklib2/src/libraries/network/NetworkPrecompiledHeaders.h
===================================================================
--- code/branches/kicklib2/src/libraries/network/NetworkPrecompiledHeaders.h	2011-04-21 20:48:55 UTC (rev 8290)
+++ code/branches/kicklib2/src/libraries/network/NetworkPrecompiledHeaders.h	2011-04-22 00:14:05 UTC (rev 8291)
@@ -61,9 +61,6 @@
 #include <list>     // 16
 #include <cmath>    // 15
 
-#define WIN32_LEAN_AND_MEAN
-#include <enet/enet.h> // 6, 3.1MB
-
 #include <OgreMath.h>        // 15
 #include <OgreVector2.h>     // 15
 #include <OgreVector3.h>     // 15
@@ -71,6 +68,9 @@
 #include <OgreQuaternion.h>  // 15
 #include <OgreColourValue.h> // 15
 
+#define WIN32_LEAN_AND_MEAN
+#include <enet/enet.h> // 6, 3.1MB
+
 #include "util/mbool.h" // 11
 
 #endif /*ORXONOX_COMPILER_MSVC */




More information about the Orxonox-commit mailing list