Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

platform.hpp

Go to the documentation of this file.
00001 #ifndef _PLATFORM_HPP_
00002 #define _PLATFORM_HPP_
00003 
00004 // msvisual compiler hacks
00005 
00006 #if defined (_MSC_VER) && (_MSC_VER < 1300 )
00007 #pragma warning (disable:4786)
00008 #pragma warning (disable:4503)
00009 #endif //
00010 
00011 #ifdef WIN32
00012 namespace std{
00013 #ifndef min
00014 template<typename T> inline
00015 T min(const T& a, const T& b) { return ( a < b ? a : b ); }
00016 #endif // min
00017 #ifndef max
00018 template<typename T> inline
00019 T max(const T& a, const T& b) { return ( a > b ? a : b ); }
00020 #endif // max
00021 }; // namespace std
00022 #endif // WIN32
00023 
00024 #endif // _PLATFORM_HPP_
00025 

Generated on Tue Sep 2 11:33:27 2003 for math by doxygen 1.3.2