patch-boost_config_platform_linux_hpp 584 B

12345678910111213141516
  1. --- boost_1_67_0.orig/boost/config/platform/linux.hpp 2018-04-11 15:49:01.000000000 +0200
  2. +++ boost_1_67_0/boost/config/platform/linux.hpp 2018-05-14 05:53:50.072807086 +0200
  3. @@ -47,6 +47,13 @@
  4. #endif
  5. +// uClibc has no support for fenv.h, and also a few architectures
  6. +// don't have fenv.h support at all (or incomplete support) even with
  7. +// glibc.
  8. +#if defined(__UCLIBC__) || defined(__nios2__) || defined(__microblaze__)
  9. +# define BOOST_NO_FENV_H
  10. +#endif
  11. +
  12. //
  13. // If glibc is past version 2 then we definitely have
  14. // gettimeofday, earlier versions may or may not have it: