Add Apple specific #define for IPV6_RECVPKTINFO

pull/2376/head
Robbie Shade 9 years ago
parent a2f3652040
commit a294487e37
  1. 2
      include/grpc/support/port_platform.h

@ -173,6 +173,8 @@
#endif /* _LP64 */ #endif /* _LP64 */
#elif defined(__APPLE__) #elif defined(__APPLE__)
#include <TargetConditionals.h> #include <TargetConditionals.h>
/* Provides IPV6_RECVPKTINFO */
#define __APPLE_USE_RFC_3542
#ifndef _BSD_SOURCE #ifndef _BSD_SOURCE
#define _BSD_SOURCE #define _BSD_SOURCE
#endif #endif

Loading…
Cancel
Save