From 05076dbdea07eac39f72803f6cdbca030069a6bc Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 27 Jul 2015 18:05:08 -0400 Subject: [PATCH] _WINSOCK_DEPRECATED_NO_WARNINGS was defined before including Winsock gear to avoid the warnings and the rewrite. Being tracked at GitHub, Issue 19, https://github.com/weidai11/cryptopp/issues/19 --- socketft.h | 1 + 1 file changed, 1 insertion(+) diff --git a/socketft.h b/socketft.h index cbfad9e4..065a59c8 100644 --- a/socketft.h +++ b/socketft.h @@ -13,6 +13,7 @@ # if defined(_WINSOCKAPI_) && !defined(_WINSOCK2API_) # error Winsock 1 is not supported by this library. Please include this file or winsock2.h before windows.h. # endif +#define _WINSOCK_DEPRECATED_NO_WARNINGS #include #include "winpipes.h" #else