]> git.sesse.net Git - vlc/commitdiff
* src/misc/getaddrinfo.c, modules/access/directory.c: Solaris fixes.
authorChristophe Massiot <massiot@videolan.org>
Mon, 11 Jul 2005 15:59:36 +0000 (15:59 +0000)
committerChristophe Massiot <massiot@videolan.org>
Mon, 11 Jul 2005 15:59:36 +0000 (15:59 +0000)
modules/access/directory.c
src/misc/getaddrinfo.c

index c6804ae43fd48a77703fa7344c840934f4e291e8..7ff6b123acde8f9fc0c054aceb1e4353636dca4d 100644 (file)
@@ -362,7 +362,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args )
     return demux2_vaControlHelper( p_demux->s, 0, 0, 0, 1, i_query, args );
 }
 
-#if defined(SYS_BEOS) || defined(WIN32)
+#if defined(SYS_BEOS) || defined(WIN32) || defined(SYS_SOLARIS)
 /* BeOS doesn't have scandir/alphasort/versionsort */
 static int alphasort( const struct dirent **a, const struct dirent **b )
 {
index f24acf39e65669583091c18d1b764a012f2d8449..157a292754b6554446aeb237bfa20b629a1c07de 100644 (file)
 
 #include "network.h"
 
-#ifdef SYS_BEOS
+#ifndef NO_ADDRESS
 #   define NO_ADDRESS  NO_DATA
+#endif
+#ifndef INADDR_NONE
 #   define INADDR_NONE 0xFFFFFFFF
+#endif
+#ifndef AF_UNSPEC
 #   define AF_UNSPEC   0
 #endif