[Orxonox-commit 3261] r7952 - code/trunk/src/libraries/network
rgrieder at orxonox.net
rgrieder at orxonox.net
Thu Feb 24 06:21:24 CET 2011
Author: rgrieder
Date: 2011-02-24 06:21:24 +0100 (Thu, 24 Feb 2011)
New Revision: 7952
Modified:
code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h
Log:
Fixed MSCV include order problem with ENet and Ogre (only occurs with Ogre 1.7 and IPv6 pimped ENet).
Modified: code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h
===================================================================
--- code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h 2011-02-24 02:51:06 UTC (rev 7951)
+++ code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h 2011-02-24 05:21:24 UTC (rev 7952)
@@ -61,6 +61,9 @@
#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
@@ -70,9 +73,6 @@
#include "util/mbool.h" // 11
-#define WIN32_LEAN_AND_MEAN
-#include <enet/enet.h> // 6, 3.1MB
-
#endif /*ORXONOX_COMPILER_MSVC */
More information about the Orxonox-commit
mailing list