supress warnings in hashers headers include (#1178)
This commit is contained in:
parent
8bb7aa62ae
commit
2d7378ddcd
|
@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||||
#ifdef TORRENT_USE_LIBGCRYPT
|
#ifdef TORRENT_USE_LIBGCRYPT
|
||||||
#include <gcrypt.h>
|
#include <gcrypt.h>
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ extern "C" {
|
||||||
#else
|
#else
|
||||||
#include "libtorrent/sha1.hpp"
|
#include "libtorrent/sha1.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
#include "libtorrent/aux_/disable_warnings_pop.hpp"
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||||
#ifdef TORRENT_USE_LIBGCRYPT
|
#ifdef TORRENT_USE_LIBGCRYPT
|
||||||
#include <gcrypt.h>
|
#include <gcrypt.h>
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ extern "C" {
|
||||||
#else
|
#else
|
||||||
#include "libtorrent/sha512.hpp"
|
#include "libtorrent/sha512.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
#include "libtorrent/aux_/disable_warnings_pop.hpp"
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue