[vlc-devel] commit: Remove unused scandir check ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Apr 10 19:15:19 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 10 19:41:21 2009 +0300| [6c3b28982261a5552b740a0f6cdc1a300393ee30] | committer: Rémi Denis-Courmont 

Remove unused scandir check

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6c3b28982261a5552b740a0f6cdc1a300393ee30
---

 configure.ac         |    2 +-
 include/vlc_fixups.h |    5 -----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 280ed5f..8795978 100644
--- a/configure.ac
+++ b/configure.ac
@@ -550,7 +550,7 @@ dnl Check for system libs needed
 need_libc=false
 
 dnl Check for usual libc functions
-AC_CHECK_FUNCS([gettimeofday strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid_r memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat strlcpy strdup strndup strnlen atof lldiv posix_fadvise posix_madvise uselocale])
+AC_CHECK_FUNCS([gettimeofday strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid_r memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon fork bsearch lstat strlcpy strdup strndup strnlen atof lldiv posix_fadvise posix_madvise uselocale])
 AC_CHECK_FUNCS(strcasecmp,,[AC_CHECK_FUNCS(stricmp)])
 AC_CHECK_FUNCS(strncasecmp,,[AC_CHECK_FUNCS(strnicmp)])
 AC_CHECK_FUNCS(strcasestr,,[AC_CHECK_FUNCS(stristr)])
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 224a134..d9872d7 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -158,11 +158,6 @@ static inline lldiv_t lldiv (long long numer, long long denom)
 }
 #endif
 
-#ifndef HAVE_SCANDIR
-# define scandir vlc_scandir
-# define alphasort vlc_alphasort
-#endif
-
 #ifndef HAVE_GETENV
 static inline char *getenv (const char *name)
 {




More information about the vlc-devel mailing list