From a42cb4ba8aa74757b526af2cad2ac09b493df3fb Mon Sep 17 00:00:00 2001 From: Vladimir Kotal Date: Mon, 22 Jul 2019 17:08:16 +0200 Subject: [PATCH] enable DECLARE_DEPRECATED macro for Oracle Developer Studio compiler Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9434) --- include/openssl/macros.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/openssl/macros.h b/include/openssl/macros.h index 6b735b6b0b..9b073fd790 100644 --- a/include/openssl/macros.h +++ b/include/openssl/macros.h @@ -33,6 +33,11 @@ # 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 -- 2.34.1