00001 #ifndef PROTON_INTERNAL_CONFIG_HPP
00002 #define PROTON_INTERNAL_CONFIG_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00026
00035
00036 #ifndef PN_CPP_HAS_CPP11
00037 #if defined(__cplusplus) && __cplusplus >= 201100
00038 #define PN_CPP_HAS_CPP11 1
00039 #else
00040 #define PN_CPP_HAS_CPP11 0
00041 #endif
00042 #endif
00043
00044 #ifndef PN_CPP_HAS_SHARED_PTR
00045 #define PN_CPP_HAS_SHARED_PTR PN_CPP_HAS_CPP11
00046 #endif
00047
00048 #ifndef PN_CPP_HAS_UNIQUE_PTR
00049 #define PN_CPP_HAS_UNIQUE_PTR PN_CPP_HAS_CPP11
00050 #endif
00051
00052 #ifndef PN_CPP_HAS_LONG_LONG
00053 #define PN_CPP_HAS_LONG_LONG PN_CPP_HAS_CPP11
00054 #endif
00055
00056 #ifndef PN_CPP_HAS_NULLPTR
00057 #define PN_CPP_HAS_NULLPTR PN_CPP_HAS_CPP11
00058 #endif
00059
00060 #ifndef PN_CPP_HAS_RVALUE_REFERENCES
00061 #define PN_CPP_HAS_RVALUE_REFERENCES PN_CPP_HAS_CPP11
00062 #endif
00063
00064 #ifndef PN_CPP_HAS_OVERRIDE
00065 #define PN_CPP_HAS_OVERRIDE PN_CPP_HAS_CPP11
00066 #endif
00067
00068 #if PN_CPP_HAS_OVERRIDE
00069 #define PN_CPP_OVERRIDE override
00070 #else
00071 #define PN_CPP_OVERRIDE
00072 #endif
00073
00074 #ifndef PN_CPP_HAS_EXPLICIT_CONVERSIONS
00075 #define PN_CPP_HAS_EXPLICIT_CONVERSIONS PN_CPP_HAS_CPP11
00076 #endif
00077
00078 #ifndef PN_CPP_HAS_DEFAULTED_FUNCTIONS
00079 #define PN_CPP_HAS_DEFAULTED_FUNCTIONS PN_CPP_HAS_CPP11
00080 #endif
00081
00082 #ifndef PN_CPP_HAS_DELETED_FUNCTIONS
00083 #define PN_CPP_HAS_DELETED_FUNCTIONS PN_CPP_HAS_CPP11
00084 #endif
00085
00086 #ifndef PN_CPP_HAS_STD_FUNCTION
00087 #define PN_CPP_HAS_STD_FUNCTION PN_CPP_HAS_CPP11
00088 #endif
00089
00090 #endif // PROTON_INTERNAL_CONFIG_HPP
00091