solaris.hpp 841 B

12345678910111213141516171819202122232425262728293031
  1. // (C) Copyright John Maddock 2001 - 2003.
  2. // (C) Copyright Jens Maurer 2003.
  3. // Use, modification and distribution are subject to the
  4. // Boost Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. // See http://www.boost.org for most recent version.
  7. // sun specific config options:
  8. #define BOOST_PLATFORM "Sun Solaris"
  9. #define BOOST_HAS_GETTIMEOFDAY
  10. // boilerplate code:
  11. #define BOOST_HAS_UNISTD_H
  12. #include <boost/config/detail/posix_features.hpp>
  13. //
  14. // pthreads don't actually work with gcc unless _PTHREADS is defined:
  15. //
  16. #if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS)
  17. # undef BOOST_HAS_PTHREADS
  18. #endif
  19. #define BOOST_HAS_STDINT_H
  20. #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
  21. #define BOOST_HAS_LOG1P
  22. #define BOOST_HAS_EXPM1