blob: 8620a0a12aa9e108b24ab0e6b47aa6b932df11f3 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
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 Thompson3d613fd2013-10-15 15:39:04 -07009#ifndef NDNBOOST_FT_CONFIG_CC_NAMES_HPP_INCLUDED
10#define NDNBOOST_FT_CONFIG_CC_NAMES_HPP_INCLUDED
Jeff Thompsona28eed82013-08-22 16:21:10 -070011
Jeff Thompson3d613fd2013-10-15 15:39:04 -070012#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 Thompsona28eed82013-08-22 16:21:10 -070021
22// append user-defined cc names to builtin ones
Jeff Thompson3d613fd2013-10-15 15:39:04 -070023#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 Thompsona28eed82013-08-22 16:21:10 -070026#else
Jeff Thompson3d613fd2013-10-15 15:39:04 -070027# define NDNBOOST_FT_CC_NAMES_SEQ NDNBOOST_FT_BUILTIN_CC_NAMES
Jeff Thompsona28eed82013-08-22 16:21:10 -070028#endif
29
30#endif
31