Handle MSVC correctly in detail/IPAddress.h
authorOrvid King <blah38621@gmail.com>
Mon, 14 Sep 2015 17:47:08 +0000 (10:47 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Mon, 14 Sep 2015 18:20:22 +0000 (11:20 -0700)
commit020e1260daf42445e30f84fe81fc7eafde5fb7b0
treec2e4e1875039f1a422c83c1805336560d3a72453
parent0fe785ba8cc9aa178e6c96b389fe585a023b43e6
Handle MSVC correctly in detail/IPAddress.h

Summary: Winsock's structures don't have a member named `s6_addr16`, so use the name for Winsock's structure.
Closes https://github.com/facebook/folly/pull/279

Reviewed By: @yfeldblum

Differential Revision: D2284223

Pulled By: @JoelMarcey
folly/detail/IPAddress.h