cloudabi.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. Copyright 2017 James E. King, III
  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_PLAT_CLOUDABI_H
  8. #define BOOST_PREDEF_PLAT_CLOUDABI_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_PLAT_CLOUDABI`]
  13. [@https://github.com/NuxiNL/cloudabi CloudABI] platform.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`__CloudABI__`] [__predef_detection__]]
  17. ]
  18. */
  19. #define BOOST_PLAT_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE
  20. #if defined(__CloudABI__)
  21. # undef BOOST_PLAT_CLOUDABI
  22. # define BOOST_PLAT_CLOUDABI BOOST_VERSION_NUMBER_AVAILABLE
  23. #endif
  24. #if BOOST_PLAT_CLOUDABI
  25. # define BOOST_PLAT_CLOUDABI_AVAILABLE
  26. # include <boost/predef/detail/platform_detected.h>
  27. #endif
  28. #define BOOST_PLAT_CLOUDABI_NAME "CloudABI"
  29. #endif
  30. #include <boost/predef/detail/test.h>
  31. BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_CLOUDABI,BOOST_PLAT_CLOUDABI_NAME)