diff options
Diffstat (limited to 'src/modules/extra/m_ldap.cpp')
-rw-r--r-- | src/modules/extra/m_ldap.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp index 67a4e6745..78cce50bd 100644 --- a/src/modules/extra/m_ldap.cpp +++ b/src/modules/extra/m_ldap.cpp @@ -23,6 +23,11 @@ #include "inspircd.h" #include "modules/ldap.h" +// Ignore OpenLDAP deprecation warnings on OS X Yosemite and newer. +#if defined __APPLE__ +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include <ldap.h> #ifdef _WIN32 |