mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 13:52:17 +02:00
Added user-config macro BOOST_DISABLE_WIN32
(also set in the compiler 's strict mode). Modified Boost source not to use Win32 specific extentions in the presence of BOOST_DISABLE_WIN32. [SVN r13771]
This commit is contained in:
@ -137,6 +137,14 @@
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// If Win32 support has been disabled for boost in general, then
|
||||
// it is for regex in particular:
|
||||
//
|
||||
#ifdef BOOST_DISABLE_WIN32
|
||||
# define BOOST_REGEX_NO_W32
|
||||
#endif
|
||||
|
||||
// some versions of gcc can't merge template instances:
|
||||
#if defined(__CYGWIN__)
|
||||
# define BOOST_REGEX_NO_TEMPLATE_SWITCH_MERGE
|
||||
|
Reference in New Issue
Block a user