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 <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
c312fd02f6
commit
428fb3ad52
@ -6,7 +6,7 @@
|
|||||||
* are met:
|
* are met:
|
||||||
*
|
*
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
* 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
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
* notice, this list of conditions and the following disclaimer in
|
* notice, this list of conditions and the following disclaimer in
|
||||||
@ -378,6 +378,7 @@ extern "C++" {
|
|||||||
#if defined(BORINGSSL_NO_CXX)
|
#if defined(BORINGSSL_NO_CXX)
|
||||||
|
|
||||||
#define BORINGSSL_MAKE_DELETER(type, deleter)
|
#define BORINGSSL_MAKE_DELETER(type, deleter)
|
||||||
|
#define BORINGSSL_MAKE_UP_REF(type, up_ref_func)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user