supress warnings in hashers headers include (#1178)

This commit is contained in:
Alden Torres 2016-10-03 19:32:20 -04:00 committed by Arvid Norberg
parent 8bb7aa62ae
commit 2d7378ddcd
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <cstdint>
#include "libtorrent/aux_/disable_warnings_push.hpp"
#ifdef TORRENT_USE_LIBGCRYPT
#include <gcrypt.h>
@ -58,6 +59,7 @@ extern "C" {
#else
#include "libtorrent/sha1.hpp"
#endif
#include "libtorrent/aux_/disable_warnings_pop.hpp"
namespace libtorrent
{

View File

@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <cstdint>
#include "libtorrent/aux_/disable_warnings_push.hpp"
#ifdef TORRENT_USE_LIBGCRYPT
#include <gcrypt.h>
@ -58,6 +59,7 @@ extern "C" {
#else
#include "libtorrent/sha512.hpp"
#endif
#include "libtorrent/aux_/disable_warnings_pop.hpp"
namespace libtorrent
{