Boost logo

Boost-Commit :

From: nicola.musatti_at_[hidden]
Date: 2007-10-14 13:51:32


Author: nmusatti
Date: 2007-10-14 13:51:32 EDT (Sun, 14 Oct 2007)
New Revision: 40019
URL: http://svn.boost.org/trac/boost/changeset/40019

Log:
Applied patch from Ticket #1319
Text files modified:
   trunk/boost/strong_typedef.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/strong_typedef.hpp
==============================================================================
--- trunk/boost/strong_typedef.hpp (original)
+++ trunk/boost/strong_typedef.hpp 2007-10-14 13:51:32 EDT (Sun, 14 Oct 2007)
@@ -25,7 +25,7 @@
 #include <boost/config.hpp>
 #include <boost/operators.hpp>
 
-#if !defined(__BORLANDC__)
+#if !defined(__BORLANDC__) || __BORLANDC__ >= 0x590
     #define BOOST_STRONG_TYPEDEF(T, D) \
     struct D \
         : boost::totally_ordered1< D \
@@ -61,6 +61,6 @@
         bool operator==(const D & rhs) const { return t == rhs.t; } \
         bool operator<(const D & rhs) const { return t < rhs.t; } \
     };
-#endif // !defined(__BORLANDC)
+#endif // !defined(__BORLANDC) || __BORLANDC__ >= 0x590
 
 #endif // BOOST_STRONG_TYPEDEF_HPP


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