FS-3450: silly apple

This commit is contained in:
Brian West 2012-01-19 23:08:07 -06:00
parent 78a43b4005
commit 256d67c7cc
1 changed files with 4 additions and 0 deletions

View File

@ -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 <openssl/crypto.h>
static switch_mutex_t **ssl_mutexes;