#2326: Make configure check sockaddr.sa_len
------------------------+---------------------------------------------------
    Reporter:  iquiw    |       Owner:                   
        Type:  bug      |      Status:  new              
    Priority:  normal   |   Component:  libraries/network
     Version:  6.8.2    |    Severity:  normal           
    Keywords:           |    Testcase:                   
Architecture:  Unknown  |          Os:  Unknown          
------------------------+---------------------------------------------------
 My previous patch attached in Ticket#2103 uses "#if
 defined(netbsd_TARGETOS)", so does not care other systems that have member
 ''s*_len'' (length of ''struct sockaddr_*'') of ''struct sockaddr_*''.

 This one check if ''struct sockaddr'' has member ''sa_len'' by configure
 script and uses "#if defined(HAVE_STRUCT_SOCKADDR_SA_LEN)" to determine
 whether to poke ''s*_len'' or not.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2326>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to