Skip to content

Commit b630af3

Browse files
committed
simplified definition
1 parent cb65c41 commit b630af3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/json/version.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
1919
(JSONCPP_VERSION_PATCH << 8))
2020

21-
#if defined(JSONCPP_USE_SECURE_MEMORY)
22-
#define JSONCPP_USING_SECURE_MEMORY 1
23-
#else
21+
#if !defined(JSONCPP_USE_SECURE_MEMORY)
2422
#define JSONCPP_USING_SECURE_MEMORY 0
2523
#endif
2624
// If non-zero, the library zeroes any memory that it has allocated before

0 commit comments

Comments
 (0)