blackfin.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. Copyright Rene Rivera 2013-2015
  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_ARCHITECTURE_BLACKFIN_H
  8. #define BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_ARCH_BLACKFIN`]
  13. Blackfin Processors from Analog Devices.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`__bfin__`] [__predef_detection__]]
  17. [[`__BFIN__`] [__predef_detection__]]
  18. [[`bfin`] [__predef_detection__]]
  19. [[`BFIN`] [__predef_detection__]]
  20. ]
  21. */
  22. #define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
  23. #if defined(__bfin__) || defined(__BFIN__) || \
  24. defined(bfin) || defined(BFIN)
  25. # undef BOOST_ARCH_BLACKFIN
  26. # define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_AVAILABLE
  27. #endif
  28. #if BOOST_ARCH_BLACKFIN
  29. # define BOOST_ARCH_BLACKFIN_AVAILABLE
  30. #endif
  31. #define BOOST_ARCH_BLACKFIN_NAME "Blackfin"
  32. #endif
  33. #include <boost/predef/detail/test.h>
  34. BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_BLACKFIN,BOOST_ARCH_BLACKFIN_NAME)