Changeset 2756 for code/trunk
- Timestamp:
- Mar 8, 2009, 1:24:15 PM (16 years ago)
- Location:
- code/trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/ClientConnection.h
r2171 r2756 44 44 45 45 #include <string> 46 #ifndef WIN32_LEAN_AND_MEAN 47 # define WIN32_LEAN_AND_MEAN 48 #endif 49 #define NOMINMAX // required to stop windows.h screwing up std::min definition 46 50 #include <enet/enet.h> 47 51 #include <boost/thread/recursive_mutex.hpp> -
code/trunk/src/network/ClientInformation.h
r2662 r2756 43 43 #include "NetworkPrereqs.h" 44 44 45 #ifndef WIN32_LEAN_AND_MEAN 46 # define WIN32_LEAN_AND_MEAN 47 #endif 48 #define NOMINMAX // required to stop windows.h screwing up std::min definition 45 49 #include <enet/enet.h> 46 50 #include <boost/thread/recursive_mutex.hpp> -
code/trunk/src/network/ConnectionManager.h
r2171 r2756 46 46 #include <map> 47 47 // enet library for networking support 48 #ifndef WIN32_LEAN_AND_MEAN 49 # define WIN32_LEAN_AND_MEAN 50 #endif 51 #define NOMINMAX // required to stop windows.h screwing up std::min definition 48 52 #include <enet/enet.h> 49 53 #include <boost/thread/recursive_mutex.hpp> -
code/trunk/src/network/PacketBuffer.h
r2171 r2756 44 44 #include "NetworkPrereqs.h" 45 45 46 #ifndef WIN32_LEAN_AND_MEAN 47 # define WIN32_LEAN_AND_MEAN 48 #endif 49 #define NOMINMAX // required to stop windows.h screwing up std::min definition 46 50 #include <enet/enet.h> 47 51 #include <boost/thread/recursive_mutex.hpp> -
code/trunk/src/network/packet/DeleteObjects.cc
r2662 r2756 29 29 30 30 #include "DeleteObjects.h" 31 #ifndef WIN32_LEAN_AND_MEAN 32 # define WIN32_LEAN_AND_MEAN 33 #endif 34 #define NOMINMAX // required to stop windows.h screwing up std::min definition 31 35 #include <enet/enet.h> 32 36 #include "network/synchronisable/Synchronisable.h" -
code/trunk/src/network/packet/Packet.cc
r2710 r2756 31 31 32 32 #include <cassert> 33 #ifndef WIN32_LEAN_AND_MEAN 34 # define WIN32_LEAN_AND_MEAN 35 #endif 36 #define NOMINMAX // required to stop windows.h screwing up std::min definition 33 37 #include <enet/enet.h> 34 38 #include <boost/bind.hpp> -
code/trunk/src/network/packet/Packet.h
r2710 r2756 32 32 33 33 #include <map> 34 #ifndef WIN32_LEAN_AND_MEAN 35 # define WIN32_LEAN_AND_MEAN 36 #endif 37 #define NOMINMAX // required to stop windows.h screwing up std::min definition 34 38 #include <enet/enet.h> 35 39 #include <boost/thread/recursive_mutex.hpp> -
code/trunk/src/orxonox/gamestates/GSGraphics.h
r2710 r2756 32 32 #include "OrxonoxPrereqs.h" 33 33 #include <OgrePrerequisites.h> 34 #define NOMINMAX // required to stop windows.h screwing up std::min definition 34 35 #include <OgreWindowEventUtilities.h> 35 36 #include "core/GameState.h" -
code/trunk/src/orxonox/gamestates/GSRoot.cc
r2710 r2756 49 49 # define WIN32_LEAN_AND_MEAN 50 50 # endif 51 # define NOMINMAX // required to stop windows.h screwing up std::min definition 51 52 # include "windows.h" 52 53 //Get around Windows hackery54 # ifdef max55 # undef max56 # endif57 # ifdef min58 # undef min59 # endif60 53 #endif 61 54 -
code/trunk/src/orxonox/pch/havepch/OrxonoxStableHeaders.h
r2710 r2756 45 45 # define WIN32_LEAN_AND_MEAN 46 46 #endif 47 #define NOMINMAX // required to stop windows.h screwing up std::min definition 47 48 #include <Ogre.h> 48 49 #include <CEGUI.h> … … 57 58 #include <tinyxml/ticpp.h> 58 59 #include <tolua++.h> 59 60 //Get around Windows hackery (windows.h is included by Ogre.h)61 #ifdef ORXONOX_PLATFORM_WINDOWS62 # ifdef max63 # undef max64 # endif65 # ifdef min66 # undef min67 # endif68 #endif69 60 70 61 //----------- Our files ---------- -
code/trunk/src/util/Math.h
r2710 r2756 51 51 #include <OgreColourValue.h> 52 52 53 //Get around Windows hackery 54 #ifdef ORXONOX_PLATFORM_WINDOWS 55 # ifdef max 56 # undef max 57 # endif 58 # ifdef min 59 # undef min 60 # endif 53 // Certain headers might define min and max macros 54 #if defined(max) || defined(min) || defined(sgn) || defined(clamp) || defined(square) || defined(mod) 55 # error An inline math function was overridden by a macro 61 56 #endif 62 57
Note: See TracChangeset
for help on using the changeset viewer.