mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-04-23 16:52:43 +02:00

Rewerite and revert some code that this library can be built in pre-C++11 and C++11 env. Main Change List: 1. using -> typedef 2. not using auto & decltype 3. not using raw string literals 4. ..., other c++11 features will be chosen to compile, depending on env.
29 lines
970 B
C
29 lines
970 B
C
#ifndef JSON_VERSION_H_INCLUDED
|
|
#define JSON_VERSION_H_INCLUDED
|
|
|
|
// Note: version must be updated in three places when doing a release. This
|
|
// annoying process ensures that amalgamate, CMake, and meson all report the
|
|
// correct version.
|
|
// 1. /meson.build
|
|
// 2. /include/json/version.h
|
|
// 3. /CMakeLists.txt
|
|
// IMPORTANT: also update the SOVERSION!!
|
|
|
|
#define JSONCPP_VERSION_STRING "00.11.0"
|
|
#define JSONCPP_VERSION_MAJOR 00
|
|
#define JSONCPP_VERSION_MINOR 11
|
|
#define JSONCPP_VERSION_PATCH 0
|
|
#define JSONCPP_VERSION_QUALIFIER
|
|
#define JSONCPP_VERSION_HEXA \
|
|
((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
|
|
(JSONCPP_VERSION_PATCH << 8))
|
|
|
|
#ifdef JSONCPP_USING_SECURE_MEMORY
|
|
#undef JSONCPP_USING_SECURE_MEMORY
|
|
#endif
|
|
#define JSONCPP_USING_SECURE_MEMORY 0
|
|
// If non-zero, the library zeroes any memory that it has allocated before
|
|
// it frees its memory.
|
|
|
|
#endif // JSON_VERSION_H_INCLUDED
|