Disable log1p and expm1 support in mingw - they often crash for reasons yet to be determined.

This commit is contained in:
jzmaddock
2014-10-02 19:00:41 +01:00
parent d978d31117
commit 71fa89f5e1

View File

@ -41,8 +41,10 @@
#endif
#if defined(__MINGW32__) && (__GNUC__ >= 4)
# define BOOST_HAS_EXPM1
# define BOOST_HAS_LOG1P
// Mingw has these functions but there are persistent problems
// with calls to these crashing, so disable for now:
//# define BOOST_HAS_EXPM1
//# define BOOST_HAS_LOG1P
# define BOOST_HAS_GETTIMEOFDAY
#endif
//