From 428fb3ad524dc7591ff2251a8c2f6de5d08518f1 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 9 Jul 2018 17:03:57 -0700 Subject: [PATCH] Make |BORINGSSL_MAKE_UP_REF| a no-op when C++ is disabled. Change-Id: I436cc772eb975ad989035ee154a2e050c65e2961 Reviewed-on: https://boringssl-review.googlesource.com/29664 Commit-Queue: David Benjamin Reviewed-by: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- include/openssl/base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/openssl/base.h b/include/openssl/base.h index 84b847a6..97626197 100644 --- a/include/openssl/base.h +++ b/include/openssl/base.h @@ -6,7 +6,7 @@ * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -378,6 +378,7 @@ extern "C++" { #if defined(BORINGSSL_NO_CXX) #define BORINGSSL_MAKE_DELETER(type, deleter) +#define BORINGSSL_MAKE_UP_REF(type, up_ref_func) #else