blob: 87cf7e2fbc3e3cc93e0a279a81bfca5a07245727 [file] [log] [blame]
Jordan Bayles7b286982019-08-13 22:41:43 -07001#ifndef JSON_VERSION_H_INCLUDED
2#define JSON_VERSION_H_INCLUDED
3
4// Note: version must be updated in three places when doing a release. This
5// annoying process ensures that amalgamate, CMake, and meson all report the
6// correct version.
7// 1. /meson.build
8// 2. /include/json/version.h
9// 3. /CMakeLists.txt
10// IMPORTANT: also update the SOVERSION!!
11
Jordan Bayles9059f5c2020-09-25 19:19:16 -070012#define JSONCPP_VERSION_STRING "1.9.4"
Jordan Bayles7b286982019-08-13 22:41:43 -070013#define JSONCPP_VERSION_MAJOR 1
14#define JSONCPP_VERSION_MINOR 9
Ben Boeckel72db2762020-10-01 12:21:48 -040015#define JSONCPP_VERSION_PATCH 4
Jordan Bayles7b286982019-08-13 22:41:43 -070016#define JSONCPP_VERSION_QUALIFIER
17#define JSONCPP_VERSION_HEXA \
18 ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
19 (JSONCPP_VERSION_PATCH << 8))
20
21#ifdef JSONCPP_USING_SECURE_MEMORY
22#undef JSONCPP_USING_SECURE_MEMORY
23#endif
24#define JSONCPP_USING_SECURE_MEMORY 0
25// If non-zero, the library zeroes any memory that it has allocated before
26// it frees its memory.
27
28#endif // JSON_VERSION_H_INCLUDED