Add the ability to supress deprecation warnings
We add a new macro OPENSSL_SUPRESS_DEPRECATED which enables applications
to supress deprecation warnings where necessary.
*/
# ifndef DECLARE_DEPRECATED
# define DECLARE_DEPRECATED(f) f;
+# ifndef OPENSSL_SUPPRESS_DEPRECATED
# ifdef __GNUC__
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
# undef DECLARE_DEPRECATED
# endif
# endif
# endif
+# endif
/*
* Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
