More prototypes blindness in Solaris.
Jarkko Hietaniemi [Mon, 18 Mar 2002 13:39:20 +0000 (13:39 +0000)]
(TODO: readdir64_r really needs to be seen.)

p4raw-id: //depot/perl@15286

hints/solaris_2.sh

index a9055c7..37142d0 100644 (file)
@@ -394,7 +394,8 @@ EOM
 
        # These prototypes should be visible since we using
        # -D_REENTRANT, but that does not seem to work.
-       # It does seem to work for getnetbyaddr_r, weirdly enough.
+       # It does seem to work for getnetbyaddr_r, weirdly enough,
+       # and other _r functions. (Solaris 8)
 
        d_ctermid_r_proto="$define"
        d_gethostbyaddr_r_proto="$define"
@@ -405,6 +406,10 @@ EOM
        d_getservbyname_r_proto="$define"
        d_getservbyport_r_proto="$define"
 
+       # Ditto. (Solaris 7)
+       d_readdir_r_proto="$define"
+       d_readdir64_r_proto="$define"
+
        ;;
 esac
 EOCBU