FastCDR  Version 2.3.0
FastCDR
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 2
19 #define FASTCDR_VERSION_MINOR 3
20 #define FASTCDR_VERSION_MICRO 0
21 #define FASTCDR_VERSION_STR "2.3.0"
22 
23 // C++11 support defines
24 #ifndef HAVE_CXX11
25 #define HAVE_CXX11 1
26 #endif // ifndef HAVE_CXX11
27 
28 // Endianness defines
29 #ifndef FASTCDR_IS_BIG_ENDIAN_TARGET
30 #define FASTCDR_IS_BIG_ENDIAN_TARGET 0
31 #endif // ifndef FASTCDR_IS_BIG_ENDIAN_TARGET
32 
33 #ifndef FASTCDR_HAVE_FLOAT128
34 #define FASTCDR_HAVE_FLOAT128 1
35 #endif // ifndef FASTCDR_HAVE_FLOAT128
36 
37 #ifndef FASTCDR_SIZEOF_LONG_DOUBLE
38 #define FASTCDR_SIZEOF_LONG_DOUBLE 16
39 #endif // ifndef FASTCDR_SIZEOF_LONG_DOUBLE
40 
41 #if defined(__ARM_ARCH) && __ARM_ARCH <= 7
42 #define FASTCDR_ARM32
43 #endif // if defined(__ARM_ARCH) && __ARM_ARCH <= 7
44 
45 #if defined(__GNUC__) && !defined(__clang__)
46 #define TEMPLATE_SPEC
47 #else
48 #define TEMPLATE_SPEC template<>
49 #endif // if defined(__GNUC__) && !defined(__clang__)
50 
51 #endif // _FASTCDR_CONFIG_H_