Fixed setting JSONCPP_USE_SECURE_MEMORY definition

This commit is contained in:
Zink Pavel 2023-03-31 20:57:48 +07:00 committed by Pavel Zink
parent 69098a18b9
commit 75e50d934d

View File

@ -18,10 +18,11 @@
((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
(JSONCPP_VERSION_PATCH << 8))
#ifdef JSONCPP_USING_SECURE_MEMORY
#undef JSONCPP_USING_SECURE_MEMORY
#if defined(JSONCPP_USE_SECURE_MEMORY)
#define JSONCPP_USING_SECURE_MEMORY 1
#else
#define JSONCPP_USING_SECURE_MEMORY 0
#endif
#define JSONCPP_USING_SECURE_MEMORY 0
// If non-zero, the library zeroes any memory that it has allocated before
// it frees its memory.