Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 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 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 9 | #ifndef NDNBOOST_FT_CONFIG_CC_NAMES_HPP_INCLUDED |
| 10 | #define NDNBOOST_FT_CONFIG_CC_NAMES_HPP_INCLUDED |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 11 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 12 | #define NDNBOOST_FT_BUILTIN_CC_NAMES \ |
| 13 | (( IMPLICIT , implicit_cc , NDNBOOST_PP_EMPTY ))\ |
| 14 | (( CDECL , cdecl_cc , NDNBOOST_PP_IDENTITY(__cdecl ) ))\ |
| 15 | (( STDCALL , stdcall_cc , NDNBOOST_PP_IDENTITY(__stdcall ) ))\ |
| 16 | (( PASCAL , pascal_cc , NDNBOOST_PP_IDENTITY(pascal ) ))\ |
| 17 | (( FASTCALL , fastcall_cc , NDNBOOST_PP_IDENTITY(__fastcall) ))\ |
| 18 | (( CLRCALL , clrcall_cc , NDNBOOST_PP_IDENTITY(__clrcall ) ))\ |
| 19 | (( THISCALL , thiscall_cc , NDNBOOST_PP_IDENTITY(__thiscall) ))\ |
| 20 | (( IMPLICIT_THISCALL , thiscall_cc , NDNBOOST_PP_EMPTY )) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 21 | |
| 22 | // append user-defined cc names to builtin ones |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 23 | #ifdef NDNBOOST_FT_CC_NAMES |
| 24 | # define NDNBOOST_FT_CC_NAMES_SEQ NDNBOOST_FT_BUILTIN_CC_NAMES NDNBOOST_FT_CC_NAMES |
| 25 | # define NDNBOOST_FT_CC_PREPROCESSING 1 |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 26 | #else |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 27 | # define NDNBOOST_FT_CC_NAMES_SEQ NDNBOOST_FT_BUILTIN_CC_NAMES |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 28 | #endif |
| 29 | |
| 30 | #endif |
| 31 | |