diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2015-07-27 18:05:08 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-27 18:05:08 -0400 |
| commit | 05076dbdea07eac39f72803f6cdbca030069a6bc (patch) | |
| tree | d44374b96a166d2f0ae11979a7a0bd624fcb425c /socketft.h | |
| parent | d76a974625a83c0d035bdd4ccb07e95c59921819 (diff) | |
| download | cryptopp-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
