mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 14:22:08 +02:00
Fix up file so it can be compiled in C mode.
[SVN r39490]
This commit is contained in:
@ -23,8 +23,6 @@
|
|||||||
# 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{
|
||||||
@ -73,7 +71,7 @@ typedef enum _match_flags
|
|||||||
|
|
||||||
} match_flags;
|
} 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;
|
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