Commit 3866e5d3 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Define AF_LOCAL in the socket portability layer

Summary: It's the exact same as `PF_LOCAL`, and is used interchangibly.

Reviewed By: yfeldblum

Differential Revision: D4439558

fbshipit-source-id: fd1ff813db5349369fc77888dfd854fc36a2a3be
parent d9793261
...@@ -60,6 +60,7 @@ struct sockaddr_un { ...@@ -60,6 +60,7 @@ struct sockaddr_un {
// These are the same, but PF_LOCAL // These are the same, but PF_LOCAL
// isn't defined by WinSock. // isn't defined by WinSock.
#define AF_LOCAL PF_UNIX
#define PF_LOCAL PF_UNIX #define PF_LOCAL PF_UNIX
// This isn't defined by Windows, and we need to // This isn't defined by Windows, and we need to
......
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