Fast CDR  Version 1.0.24
Fast CDR
config.h
1 // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef _FASTCDR_CONFIG_H_
16 #define _FASTCDR_CONFIG_H_
17 
18 #define FASTCDR_VERSION_MAJOR 1
19 #define FASTCDR_VERSION_MINOR 0
20 #define FASTCDR_VERSION_MICRO 24
21 #define FASTCDR_VERSION_STR "1.0.24"
22 
23 // C++11 support defines
24 #ifndef HAVE_CXX11
25 #define HAVE_CXX11 1
26 #endif
27 
28 // C++0x support defines
29 #ifndef HAVE_CXX0X
30 #define HAVE_CXX0X 1
31 #endif
32 
33 // C++ constexpr support
34 #ifndef HAVE_CXX_CONSTEXPR
35 #define HAVE_CXX_CONSTEXPR 1
36 #endif
37 
38 #if HAVE_CXX_CONSTEXPR
39 #define CONSTEXPR constexpr
40 #else
41 #define CONSTEXPR const
42 #endif
43 
44 // Endianness defines
45 #ifndef FASTCDR_IS_BIG_ENDIAN_TARGET
46 #define FASTCDR_IS_BIG_ENDIAN_TARGET 0
47 #endif
48 
49 #ifndef FASTCDR_HAVE_FLOAT128
50 #define FASTCDR_HAVE_FLOAT128 1
51 #endif
52 
53 #ifndef FASTCDR_SIZEOF_LONG_DOUBLE
54 #define FASTCDR_SIZEOF_LONG_DOUBLE 16
55 #endif
56 
57 #if defined(__ARM_ARCH) && __ARM_ARCH <= 7
58 #define FASTCDR_ARM32
59 #endif
60 
61 #endif // _FASTCDR_CONFIG_H_