aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-03-03 01:24:07 +0000
committerHaibo Huang <hhb@google.com>2021-03-03 01:24:27 +0000
commitfdbccc888b01374b90f67a559e1718067ff819e8 (patch)
treea39bc599e78f83beddd0e70400ba7806c2d1739a
parentc3cf98ec13a2c179a2d0d35c98976fc7490aa7ee (diff)
downloadjsoncpp-fdbccc888b01374b90f67a559e1718067ff819e8.tar.gz
Revert "[jsoncpp] disable JSONCPP_DEPRECATED to make upgrade easier"
This reverts commit ca86dbedfa505cc2762b51e6308b8f9ea8f63fe6. Reason for revert: all users should be fixed Change-Id: I11b7360ef4fbd0423a9be1b47a147ebbeea971aa
-rw-r--r--include/json/config.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/json/config.h b/include/json/config.h
index 6912567..6359273 100644
--- a/include/json/config.h
+++ b/include/json/config.h
@@ -74,7 +74,6 @@ extern JSON_API int msvc_pre1900_c99_snprintf(char* outBuf, size_t size,
// C++11 should be used directly in JSONCPP.
#define JSONCPP_OVERRIDE override
-#if 0 // Android change: b/170642246
#ifdef __clang__
#if __has_extension(attribute_deprecated_with_message)
#define JSONCPP_DEPRECATED(message) __attribute__((deprecated(message)))
@@ -89,7 +88,6 @@ extern JSON_API int msvc_pre1900_c99_snprintf(char* outBuf, size_t size,
// MSVC)
#define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
#endif // __clang__ || __GNUC__ || _MSC_VER
-#endif // Android change: b/170642246
#if !defined(JSONCPP_DEPRECATED)
#define JSONCPP_DEPRECATED(message)