summaryrefslogtreecommitdiff
path: root/socketft.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-27 18:05:08 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-27 18:05:08 -0400
commit05076dbdea07eac39f72803f6cdbca030069a6bc (patch)
treed44374b96a166d2f0ae11979a7a0bd624fcb425c /socketft.h
parentd76a974625a83c0d035bdd4ccb07e95c59921819 (diff)
downloadcryptopp-git-05076dbdea07eac39f72803f6cdbca030069a6bc.tar.gz
_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
Diffstat (limited to 'socketft.h')
-rw-r--r--socketft.h1
1 files changed, 1 insertions, 0 deletions
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 <winsock2.h>
#include "winpipes.h"
#else