hpux.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Copyright Redshift Software, Inc. 2008-2013
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #ifndef BOOST_PREDEF_OS_HPUX_H
  8. #define BOOST_PREDEF_OS_HPUX_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_OS_HPUX`]
  13. [@http://en.wikipedia.org/wiki/HP-UX HP-UX] operating system.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`hpux`] [__predef_detection__]]
  17. [[`_hpux`] [__predef_detection__]]
  18. [[`__hpux`] [__predef_detection__]]
  19. ]
  20. */
  21. #define BOOST_OS_HPUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
  22. #if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
  23. defined(hpux) || defined(_hpux) || defined(__hpux) \
  24. )
  25. # undef BOOST_OS_HPUX
  26. # define BOOST_OS_HPUX BOOST_VERSION_NUMBER_AVAILABLE
  27. #endif
  28. #if BOOST_OS_HPUX
  29. # define BOOST_OS_HPUX_AVAILABLE
  30. # include <boost/predef/detail/os_detected.h>
  31. #endif
  32. #define BOOST_OS_HPUX_NAME "HP-UX"
  33. #include <boost/predef/detail/test.h>
  34. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_HPUX,BOOST_OS_HPUX_NAME)
  35. #endif