Commit bc5b5b9e authored by Sara Golemon's avatar Sara Golemon

Add missing s6_addr16 define for MacOSX targets

Summary:
This is a known issue on Darwin

@override-unit-failures

Test Plan: folly/detail/IPAddress.h compiles on a mac

Reviewed By: joelm@fb.com

FB internal diff: D1499795
parent a22e272b
......@@ -45,6 +45,10 @@ extern "C" {
#include <folly/Conv.h>
#include <folly/Format.h>
#if defined(__APPLE__) && !defined(s6_addr16)
# define s6_addr16 __u6_addr.__u6_addr16
#endif
namespace folly { namespace detail {
inline std::string familyNameStr(sa_family_t family) {
......
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