summaryrefslogtreecommitdiff
path: root/secure
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2021-09-01 04:10:59 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2021-09-03 17:10:57 +0000
commitf7fe1ce49e7ae131de831e5ed211e0fb36c66014 (patch)
tree531f4ee536a98b32c52e5da7916a2d9f6f7f7811 /secure
parentf2e93641f7465ce20fbb4ea75341e69b234e5df1 (diff)
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypto/opensslconf.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/opensslconf.h.in b/secure/lib/libcrypto/opensslconf.h.in
index 4d96de2d51ec..b0936858a221 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