projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853094d
)
enable DECLARE_DEPRECATED macro for Oracle Developer Studio compiler
author
Vladimir Kotal
<vladimir.kotal@oracle.com>
Mon, 22 Jul 2019 15:08:16 +0000
(17:08 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 12 Aug 2019 10:46:55 +0000
(12:46 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9434)
include/openssl/macros.h
patch
|
blob
|
history
diff --git
a/include/openssl/macros.h
b/include/openssl/macros.h
index 6b735b6b0b977b1a23c381854caabf4ed4fa5477..9b073fd7909537e9b2836958bcbafda3aacfb19d 100644
(file)
--- 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