Disable external template instances on cygwin - they lead to duplicate symbols for some reason.

See https://github.com/boostorg/regex/issues/64.
This commit is contained in:
jzmaddock
2018-11-11 17:12:56 +00:00
parent 38afecb48b
commit 3c6cf87718
2 changed files with 5 additions and 1 deletions

View File

@ -120,6 +120,10 @@
#ifdef __clang__
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
#endif
#ifdef __CYGWIN__
/* We get multiply defined symbols without this: */
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
#endif
/*
* If there isn't good enough wide character support then there will