diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-12-07 23:39:55 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-12-07 23:39:55 +0100 |
commit | 35d80008d6cb55160d06dda51aebc716c4d6511b (patch) | |
tree | e8849342709f39aac11a8882a02f5bf658e824c3 /src/modules | |
parent | 48f8f79317a04891e2becd859363add6eb2d6444 (diff) | |
parent | 440f34023a094697fca5fc07dfbb9e2a3228520a (diff) |
Merge pull request #895 from SaberUK/master+configure-misc-cleanup
Various improvements to the build system.
Diffstat (limited to 'src/modules')
-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> |