cc_names.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. // (C) Copyright Tobias Schwinger
  2. //
  3. // Use modification and distribution are subject to the boost Software License,
  4. // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
  5. //------------------------------------------------------------------------------
  6. #ifndef BOOST_FT_CONFIG_CC_NAMES_HPP_INCLUDED
  7. #define BOOST_FT_CONFIG_CC_NAMES_HPP_INCLUDED
  8. #define BOOST_FT_BUILTIN_CC_NAMES \
  9. (( IMPLICIT , implicit_cc , BOOST_PP_EMPTY ))\
  10. (( CDECL , cdecl_cc , BOOST_PP_IDENTITY(__cdecl ) ))\
  11. (( STDCALL , stdcall_cc , BOOST_PP_IDENTITY(__stdcall ) ))\
  12. (( PASCAL , pascal_cc , BOOST_PP_IDENTITY(pascal ) ))\
  13. (( FASTCALL , fastcall_cc , BOOST_PP_IDENTITY(__fastcall) ))\
  14. (( CLRCALL , clrcall_cc , BOOST_PP_IDENTITY(__clrcall ) ))\
  15. (( THISCALL , thiscall_cc , BOOST_PP_IDENTITY(__thiscall) ))\
  16. (( IMPLICIT_THISCALL , thiscall_cc , BOOST_PP_EMPTY ))
  17. // append user-defined cc names to builtin ones
  18. #ifdef BOOST_FT_CC_NAMES
  19. # define BOOST_FT_CC_NAMES_SEQ BOOST_FT_BUILTIN_CC_NAMES BOOST_FT_CC_NAMES
  20. # define BOOST_FT_CC_PREPROCESSING 1
  21. #else
  22. # define BOOST_FT_CC_NAMES_SEQ BOOST_FT_BUILTIN_CC_NAMES
  23. #endif
  24. #endif