Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-09-23 13:49:44


Author: johnmaddock
Date: 2007-09-23 13:49:44 EDT (Sun, 23 Sep 2007)
New Revision: 39490
URL: http://svn.boost.org/trac/boost/changeset/39490

Log:
Fix up file so it can be compiled in C mode.
Text files modified:
   trunk/boost/regex/v4/match_flags.hpp | 4 +---
   1 files changed, 1 insertions(+), 3 deletions(-)

Modified: trunk/boost/regex/v4/match_flags.hpp
==============================================================================
--- trunk/boost/regex/v4/match_flags.hpp (original)
+++ trunk/boost/regex/v4/match_flags.hpp 2007-09-23 13:49:44 EDT (Sun, 23 Sep 2007)
@@ -23,8 +23,6 @@
 # include <boost/cstdint.hpp>
 #endif
 
-#include <boost/detail/workaround.hpp>
-
 #ifdef __cplusplus
 namespace boost{
    namespace regex_constants{
@@ -73,7 +71,7 @@
 
 } match_flags;
 
-#if BOOST_WORKAROUND(BOOST_MSVC, < 1300) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
+#if (defined(_MSC_VER) && (_MSC_VER < 1300)) || defined(__BORLANDC__)
 typedef unsigned long match_flag_type;
 #else
 typedef match_flags match_flag_type;


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