Kaydet (Commit) f5e86ebc authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence winsock deprecation warning

Change-Id: Ib0fe869e79ceea77b4dfe00a6ad387ce9c4149cc
üst 7f232c7b
...@@ -26,6 +26,12 @@ ...@@ -26,6 +26,12 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sal/config.h>
#if defined _WIN32
#define _WINSOCK_DEPRECATED_NO_WARNINGS // warnings about inet_addr
#endif
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment