1 #ifndef PROTON_INTERNAL_CONFIG_HPP
2 #define PROTON_INTERNAL_CONFIG_HPP
36 #ifndef PN_CPP_HAS_CPP11
37 #if defined(__cplusplus) && __cplusplus >= 201100
38 #define PN_CPP_HAS_CPP11 1
40 #define PN_CPP_HAS_CPP11 0
44 #ifndef PN_CPP_HAS_SHARED_PTR
45 #define PN_CPP_HAS_SHARED_PTR PN_CPP_HAS_CPP11
48 #ifndef PN_CPP_HAS_UNIQUE_PTR
49 #define PN_CPP_HAS_UNIQUE_PTR PN_CPP_HAS_CPP11
52 #ifndef PN_CPP_HAS_LONG_LONG
53 #define PN_CPP_HAS_LONG_LONG PN_CPP_HAS_CPP11
56 #ifndef PN_CPP_HAS_NULLPTR
57 #define PN_CPP_HAS_NULLPTR PN_CPP_HAS_CPP11
60 #ifndef PN_CPP_HAS_RVALUE_REFERENCES
61 #define PN_CPP_HAS_RVALUE_REFERENCES PN_CPP_HAS_CPP11
64 #ifndef PN_CPP_HAS_OVERRIDE
65 #define PN_CPP_HAS_OVERRIDE PN_CPP_HAS_CPP11
68 #if PN_CPP_HAS_OVERRIDE
69 #define PN_CPP_OVERRIDE override
71 #define PN_CPP_OVERRIDE
74 #ifndef PN_CPP_HAS_EXPLICIT_CONVERSIONS
75 #define PN_CPP_HAS_EXPLICIT_CONVERSIONS PN_CPP_HAS_CPP11
78 #ifndef PN_CPP_HAS_DEFAULTED_FUNCTIONS
79 #define PN_CPP_HAS_DEFAULTED_FUNCTIONS PN_CPP_HAS_CPP11
82 #ifndef PN_CPP_HAS_DELETED_FUNCTIONS
83 #define PN_CPP_HAS_DELETED_FUNCTIONS PN_CPP_HAS_CPP11
86 #ifndef PN_CPP_HAS_STD_FUNCTION
87 #define PN_CPP_HAS_STD_FUNCTION PN_CPP_HAS_CPP11
90 #endif // PROTON_INTERNAL_CONFIG_HPP