git-svn-id: trunk@47752 - (cherry picked from commit 729c1dee8cc0d3aff441f55ce93e30d71af6527c)
@@ -230,7 +230,7 @@ type
PProtoEnt = ^TProtoEnt;
PPProtoEnt = ^PProtoEnt;
-{$if defined(LINUX) or defined(OPENBSD)}
+{$if defined(LINUX) or defined(OPENBSD) or defined(DARWIN)}
{$define FIRST_ADDR_THEN_CANONNAME}
{$endif}
{$if defined(FREEBSD) or defined(NETBSD) or defined(DRAGONFLY) or defined(SOLARIS) or defined(ANDROID)}