diff --git a/include/json/version.h b/include/json/version.h index f6118c0..9e95411 100644 --- a/include/json/version.h +++ b/include/json/version.h @@ -18,9 +18,7 @@ ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \ (JSONCPP_VERSION_PATCH << 8)) -#if defined(JSONCPP_USE_SECURE_MEMORY) -#define JSONCPP_USING_SECURE_MEMORY 1 -#else +#if !defined(JSONCPP_USE_SECURE_MEMORY) #define JSONCPP_USING_SECURE_MEMORY 0 #endif // If non-zero, the library zeroes any memory that it has allocated before