From 256d67c7cc264c942384a6bd5ce9255a02a93b23 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 19 Jan 2012 23:08:07 -0600 Subject: [PATCH] FS-3450: silly apple --- src/include/switch_ssl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/switch_ssl.h b/src/include/switch_ssl.h index 24f660b459..46cdd5cbbe 100644 --- a/src/include/switch_ssl.h +++ b/src/include/switch_ssl.h @@ -32,6 +32,10 @@ #define __SWITCH_SSL_H #if defined(HAVE_OPENSSL) +#if defined (MACOSX) || defined(DARWIN) +/* Disable depricated-declarations on OS X */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif #include static switch_mutex_t **ssl_mutexes;