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