From 649ccdd753790069623e192185d133fd26a03bf9 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 1 Sep 2021 00:10:59 -0400 Subject: [PATCH] OpenSSL: Reduce diff with the upstream No functional change expected. --- secure/lib/libcrypto/opensslconf.h.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/secure/lib/libcrypto/opensslconf.h.in b/secure/lib/libcrypto/opensslconf.h.in index 4d96de2d51e..b0936858a22 100644 --- a/secure/lib/libcrypto/opensslconf.h.in +++ b/secure/lib/libcrypto/opensslconf.h.in @@ -118,6 +118,11 @@ extern "C" { # undef DECLARE_DEPRECATED # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); # endif +# elif defined(__SUNPRO_C) +# if (__SUNPRO_C >= 0x5130) +# undef DECLARE_DEPRECATED +# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); +# endif # endif #endif