The branch master has been updated
       via  a42cb4ba8aa74757b526af2cad2ac09b493df3fb (commit)
      from  853094dbe15a49b334f3488fc99a557abf021c09 (commit)


- Log -----------------------------------------------------------------
commit a42cb4ba8aa74757b526af2cad2ac09b493df3fb
Author: Vladimir Kotal <vladimir.ko...@oracle.com>
Date:   Mon Jul 22 17:08:16 2019 +0200

    enable DECLARE_DEPRECATED macro for Oracle Developer Studio compiler
    
    Reviewed-by: Matt Caswell <m...@openssl.org>
    Reviewed-by: Richard Levitte <levi...@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/9434)

-----------------------------------------------------------------------

Summary of changes:
 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
 

Reply via email to