From 3866e5d3d8e4ff6e53ef4360d4016fe86a948fdb Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 20 Jan 2017 10:35:09 -0800 Subject: [PATCH] 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 --- folly/portability/Sockets.h | 1 + 1 file changed, 1 insertion(+) diff --git a/folly/portability/Sockets.h b/folly/portability/Sockets.h index 8cf18b1c..74060df1 100755 --- a/folly/portability/Sockets.h +++ b/folly/portability/Sockets.h @@ -60,6 +60,7 @@ struct sockaddr_un { // These are the same, but PF_LOCAL // isn't defined by WinSock. +#define AF_LOCAL PF_UNIX #define PF_LOCAL PF_UNIX // This isn't defined by Windows, and we need to -- 2.34.1