From 382bc8dd2af836c5ce8c400e327f4a35d9f7ae8f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 1 Oct 2014 19:52:30 +0100 Subject: Fix warnings in m_ssl_openssl about the use of `long long` on C++03. --- src/modules/extra/m_ssl_openssl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 3dd8a8544..a0c30bb9e 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -31,6 +31,13 @@ # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif +// Fix warnings about the use of `long long` on C++03. +#if defined __clang__ +# pragma clang diagnostic ignored "-Wc++11-long-long" +#elif defined __GNUC__ +# pragma GCC diagnostic ignored "-Wlong-long" +#endif + #include #include -- cgit v1.2.3