mirror of
https://github.com/boostorg/regex.git
synced 2025-07-13 20:36:39 +02:00
Fixed Borland compiles, so that regex can be mixed with vcl.h.
[SVN r19880]
This commit is contained in:
@ -27,6 +27,8 @@
|
|||||||
# include <boost/cstdint.hpp>
|
# include <boost/cstdint.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <boost/detail/workaround.hpp>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
namespace boost{
|
namespace boost{
|
||||||
namespace regex_constants{
|
namespace regex_constants{
|
||||||
@ -69,7 +71,7 @@ typedef enum _match_flags
|
|||||||
|
|
||||||
} 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;
|
typedef unsigned long match_flag_type;
|
||||||
#else
|
#else
|
||||||
typedef match_flags match_flag_type;
|
typedef match_flags match_flag_type;
|
||||||
|
Reference in New Issue
Block a user