config.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. #ifndef _FASTCDR_CONFIG_H_
  15. #define _FASTCDR_CONFIG_H_
  16. #define FASTCDR_VERSION_MAJOR 1
  17. #define FASTCDR_VERSION_MINOR 0
  18. #define FASTCDR_VERSION_MICRO 14
  19. #define FASTCDR_VERSION_STR "1.0.14"
  20. // C++11 support defines
  21. #ifndef HAVE_CXX11
  22. #define HAVE_CXX11 1
  23. #endif
  24. // C++0x support defines
  25. #ifndef HAVE_CXX0X
  26. #define HAVE_CXX0X 1
  27. #endif
  28. // C++ constexpr support
  29. #ifndef HAVE_CXX_CONSTEXPR
  30. #define HAVE_CXX_CONSTEXPR 1
  31. #endif
  32. #if HAVE_CXX_CONSTEXPR
  33. #define CONSTEXPR constexpr
  34. #else
  35. #define CONSTEXPR const
  36. #endif
  37. // Endianness defines
  38. #ifndef __BIG_ENDIAN__
  39. #define __BIG_ENDIAN__ 0
  40. #endif
  41. #if defined(__ARM_ARCH) && __ARM_ARCH <= 7
  42. #define FASTCDR_ARM32
  43. #endif
  44. #endif // _FASTCDR_CONFIG_H_