Skip to content

Commit

Permalink
Fix warnings in m_ssl_openssl about the use of long long on C++03.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Dec 7, 2014
1 parent 7404ba8 commit 382bc8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/modules/extra/m_ssl_openssl.cpp
Expand Up @@ -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>

Expand Down

0 comments on commit 382bc8d

Please sign in to comment.