tendra.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. Copyright Rene Rivera 2008-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 BHO_PREDEF_COMPILER_TENDRA_H
  8. #define BHO_PREDEF_COMPILER_TENDRA_H
  9. #include <asio2/bho/predef/version_number.h>
  10. #include <asio2/bho/predef/make.h>
  11. /* tag::reference[]
  12. = `BHO_COMP_TENDRA`
  13. http://en.wikipedia.org/wiki/TenDRA_Compiler[TenDRA C/{CPP}] compiler.
  14. [options="header"]
  15. |===
  16. | {predef_symbol} | {predef_version}
  17. | `+__TenDRA__+` | {predef_detection}
  18. |===
  19. */ // end::reference[]
  20. #define BHO_COMP_TENDRA BHO_VERSION_NUMBER_NOT_AVAILABLE
  21. #if defined(__TenDRA__)
  22. # define BHO_COMP_TENDRA_DETECTION BHO_VERSION_NUMBER_AVAILABLE
  23. #endif
  24. #ifdef BHO_COMP_TENDRA_DETECTION
  25. # if defined(BHO_PREDEF_DETAIL_COMP_DETECTED)
  26. # define BHO_COMP_TENDRA_EMULATED BHO_COMP_TENDRA_DETECTION
  27. # else
  28. # undef BHO_COMP_TENDRA
  29. # define BHO_COMP_TENDRA BHO_COMP_TENDRA_DETECTION
  30. # endif
  31. # define BHO_COMP_TENDRA_AVAILABLE
  32. # include <asio2/bho/predef/detail/comp_detected.h>
  33. #endif
  34. #define BHO_COMP_TENDRA_NAME "TenDRA C/C++"
  35. #endif
  36. #include <asio2/bho/predef/detail/test.h>
  37. BHO_PREDEF_DECLARE_TEST(BHO_COMP_TENDRA,BHO_COMP_TENDRA_NAME)
  38. #ifdef BHO_COMP_TENDRA_EMULATED
  39. #include <asio2/bho/predef/detail/test.h>
  40. BHO_PREDEF_DECLARE_TEST(BHO_COMP_TENDRA_EMULATED,BHO_COMP_TENDRA_NAME)
  41. #endif