diff options
author | Peter Powell <petpow@saberuk.com> | 2014-10-01 19:52:30 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2014-12-07 22:36:43 +0000 |
commit | 382bc8dd2af836c5ce8c400e327f4a35d9f7ae8f (patch) | |
tree | a0d3f0245d3a5f8336e6883be1cae34930767af3 /src | |
parent | 7404ba8b66083c2fbb19c638da85c252551792a2 (diff) |
Fix warnings in m_ssl_openssl about the use of `long long` on C++03.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 <openssl/ssl.h> #include <openssl/err.h> |