|
Boost-Commit : |
From: emil_at_[hidden]
Date: 2008-04-16 14:24:18
Author: emildotchevski
Date: 2008-04-16 14:24:17 EDT (Wed, 16 Apr 2008)
New Revision: 44472
URL: http://svn.boost.org/trac/boost/changeset/44472
Log:
Added #define NOMINMAX to preserve standard behavior of std::min and std::max. Is including <windows.h> here necessary?
Text files modified:
trunk/boost/date_time/microsec_time_clock.hpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Modified: trunk/boost/date_time/microsec_time_clock.hpp
==============================================================================
--- trunk/boost/date_time/microsec_time_clock.hpp (original)
+++ trunk/boost/date_time/microsec_time_clock.hpp 2008-04-16 14:24:17 EDT (Wed, 16 Apr 2008)
@@ -21,6 +21,7 @@
#include "boost/shared_ptr.hpp"
#ifdef BOOST_HAS_FTIME
+#define NOMINMAX
#include <windows.h>
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk