Skip to content

Commit

Permalink
Refs #2884. Changed config.h.in
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Jun 7, 2018
1 parent acf934a commit c8951b7
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions include/microcdr/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,15 @@
#ifndef _MICROCDR_CONFIG_H_
#define _MICROCDR_CONFIG_H_

#ifndef MICROCDR_VERSION_MAJOR
// Version defines
#define MICROCDR_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#endif
#ifndef MICROCDR_VERSION_MINOR
#define MICROCDR_VERSION_MINOR @PROJECT_VERSION_MINOR@
#endif
#ifndef MICROCDR_VERSION_MICRO
#define MICROCDR_VERSION_MICRO @PROJECT_VERSION_PATCH@
#endif
#ifndef MICROCDR_VERSION_STR
#define MICROCDR_VERSION_STR "@PROJECT_VERSION@"
#endif

// C++11 support defines
#ifndef HAVE_CXX11
#define HAVE_CXX11 @HAVE_CXX11@
#endif

// C++0x support defines
#ifndef HAVE_CXX0X
#define HAVE_CXX0X @HAVE_CXX0X@
#endif

// Endianness defines
#ifndef __BIG_ENDIAN__
#define __BIG_ENDIAN__ @__BIG_ENDIAN__@
#endif

// C++11 Non-copyable feature
#ifndef NON_COPYABLE_CXX11
#if !defined(HAVE_CXX0X) || (defined(_MSC_VER) && _MSC_VER <= 1600)
#define NON_COPYABLE_CXX11
#else
#define NON_COPYABLE_CXX11 = delete
#endif
#endif

#endif // _MICROCDR_CONFIG_H_

0 comments on commit c8951b7

Please sign in to comment.