[polypaudio-tickets] [Polypaudio] #18: INADDR_NONE is available on windows

Polypaudio trac-noreply at tango.0pointer.de
Fri Jun 2 00:31:43 PDT 2006


#18: INADDR_NONE is available on windows
--------------------------------------------+-------------------------------
 Reporter:  polypaudio at lazymalevolence.com  |       Owner:  somebody
     Type:  defect                          |      Status:  new     
 Priority:  normal                          |   Milestone:          
Component:  component1                      |     Version:          
 Severity:  normal                          |    Keywords:          
--------------------------------------------+-------------------------------
 both winsock.h and winsock2.h also offer INADDR_NONE, at least using
 MinGW's w32api headers.
 {{{
 Index: configure.ac
 ===================================================================
 --- configure.ac        (revision 999)
 +++ configure.ac        (working copy)
 @@ -205,7 +205,8 @@

  # Solaris lacks this
  AC_CHECK_DEFINE([INADDR_NONE], [netinet/in.h], [],
 -    [AC_DEFINE([INADDR_NONE],  [0xffffffff], [Define INADDR_NONE if not
 found in <netinet/in.h>])])
 +    [AC_CHECK_DEFINE([INADDR_NONE], [winsock2.h], [],
 +        [AC_DEFINE([INADDR_NONE],  [0xffffffff], [Define INADDR_NONE if
 not found in <netinet/in.h>])])])

  #### Check for libs ####

 }}}

-- 
Ticket URL: <http://0pointer.de/trac/polypaudio/ticket/18>
Polypaudio <http://0pointer.de/lennart/projects/polypaudio/>
The Polypaudio Sound Server


More information about the pulseaudio-bugs mailing list