FreeBSD 5.0 gethostbyaddr_r hints update
Kay Roepke [Thu, 6 Mar 2003 23:00:10 +0000 (00:00 +0100)]
Message-ID: <3E67C4EA.A55FFE5C@dolphin-services.de>

(plus change the d_gethostbyaddr_r_proto default to "0",
that is what an undefined r_proto looks like)

p4raw-id: //depot/perl@18846

hints/freebsd.sh

index 7a2b23a..937df2a 100644 (file)
@@ -220,10 +220,11 @@ EOM
              fi
              ldflags="-pthread $ldflags"
              case "$osvers" in
-             4.*)      # 4.x has gethostbyaddr_r but it is
+             4.*|5.0-release*) 
+                       # 4.x and 5.0-release have gethostbyaddr_r but it is
                        # "Temporary function, not threadsafe"...
                        d_gethostbyaddr_r="undef"
-                       d_gethostbyaddr_r_proto="undef"
+                       d_gethostbyaddr_r_proto="0"
                        ;;
              esac
              ;;