From 4789b3f6536ef8267c79c7cb3ee6678546c2150b Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 1 Aug 2006 10:42:22 +0000 Subject: AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/socket.h b/include/socket.h index 4387797df..01005305b 100644 --- a/include/socket.h +++ b/include/socket.h @@ -37,11 +37,13 @@ typedef struct sockaddr_in6 insp_sockaddr; typedef struct in6_addr insp_inaddr; +#define AF_FAMILY AF_INET6 #else typedef struct sockaddr_in insp_sockaddr; typedef struct in_addr insp_inaddr; +#define AF_FAMILY AF_INET #endif -- cgit v1.2.3