xref: /freebsd/contrib/libcbor/src/cbor/configuration.h.in (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1#ifndef LIBCBOR_CONFIGURATION_H
2#define LIBCBOR_CONFIGURATION_H
3
4#define CBOR_MAJOR_VERSION ${CBOR_VERSION_MAJOR}
5#define CBOR_MINOR_VERSION ${CBOR_VERSION_MINOR}
6#define CBOR_PATCH_VERSION ${CBOR_VERSION_PATCH}
7
8#cmakedefine01 CBOR_CUSTOM_ALLOC
9#define CBOR_BUFFER_GROWTH ${CBOR_BUFFER_GROWTH}
10#define CBOR_MAX_STACK_SIZE ${CBOR_MAX_STACK_SIZE}
11#cmakedefine01 CBOR_PRETTY_PRINTER
12
13#define CBOR_RESTRICT_SPECIFIER ${CBOR_RESTRICT_SPECIFIER}
14#define CBOR_INLINE_SPECIFIER ${CBOR_INLINE_SPECIFIER}
15
16#endif //LIBCBOR_CONFIGURATION_H
17