summaryrefslogtreecommitdiff
path: root/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h')
-rw-r--r--deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h
index 2f9817e43b..21dd8cc643 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslconf.h
@@ -102,12 +102,18 @@ extern "C" {
* still won't see them if the library has been built to disable deprecated
* functions.
*/
-#if defined(OPENSSL_NO_DEPRECATED)
-# define DECLARE_DEPRECATED(f)
-#elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
-# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
-#else
-# define DECLARE_DEPRECATED(f) f;
+#ifndef DECLARE_DEPRECATED
+# if defined(OPENSSL_NO_DEPRECATED)
+# define DECLARE_DEPRECATED(f)
+# else
+# define DECLARE_DEPRECATED(f) f;
+# ifdef __GNUC__
+# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
+# undef DECLARE_DEPRECATED
+# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
+# endif
+# endif
+# endif
#endif
#ifndef OPENSSL_FILE