_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
parent
d76a974625
commit
05076dbdea
|
|
@ -13,6 +13,7 @@
|
||||||
# if defined(_WINSOCKAPI_) && !defined(_WINSOCK2API_)
|
# if defined(_WINSOCKAPI_) && !defined(_WINSOCK2API_)
|
||||||
# error Winsock 1 is not supported by this library. Please include this file or winsock2.h before windows.h.
|
# error Winsock 1 is not supported by this library. Please include this file or winsock2.h before windows.h.
|
||||||
# endif
|
# endif
|
||||||
|
#define _WINSOCK_DEPRECATED_NO_WARNINGS
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include "winpipes.h"
|
#include "winpipes.h"
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue