Fixed Borland compiles, so that regex can be mixed with vcl.h.

[SVN r19880]
This commit is contained in:
John Maddock
2003-08-30 10:14:56 +00:00
parent 51ef8177d3
commit 567d76e8e4

View File

@ -27,6 +27,8 @@
# include <boost/cstdint.hpp>
#endif
#include <boost/detail/workaround.hpp>
#ifdef __cplusplus
namespace boost{
namespace regex_constants{
@ -69,7 +71,7 @@ typedef enum _match_flags
} match_flags;
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1200)
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1200) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
typedef unsigned long match_flag_type;
#else
typedef match_flags match_flag_type;