Qpid Proton C++  0.12.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
config.hpp
1 #ifndef CONFIG_HPP
2 #define CONFIG_HPP
3 
4 /*
5  * Licensed to the Apache Software Foundation (ASF) under one
6  * or more contributor license agreements. See the NOTICE file
7  * distributed with this work for additional information
8  * regarding copyright ownership. The ASF licenses this file
9  * to you under the Apache License, Version 2.0 (the
10  * "License"); you may not use this file except in compliance
11  * with the License. You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing,
16  * software distributed under the License is distributed on an
17  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18  * KIND, either express or implied. See the License for the
19  * specific language governing permissions and limitations
20  * under the License.
21  */
22 
25 
34 
35 #ifndef PN_HAS_CPP11
36 #if (defined(__cplusplus) && __cplusplus >= 201100)
37 #define PN_HAS_CPP11 1
38 #else
39 #define PN_HAS_CPP11 0
40 #endif
41 #endif
42 
43 #ifndef PN_HAS_STD_PTR
44 #define PN_HAS_STD_PTR PN_HAS_CPP11
45 #endif
46 
47 #ifndef PN_HAS_LONG_LONG
48 #define PN_HAS_LONG_LONG PN_HAS_CPP11
49 #endif
50 
51 #ifndef PN_HAS_STATIC_ASSERT
52 #define PN_HAS_STATIC_ASSERT PN_HAS_CPP11
53 #endif
54 
55 #endif // CONFIG_HPP
56