From: RĂ©mi Denis-Courmont Date: Fri, 10 Apr 2009 16:41:21 +0000 (+0300) Subject: Remove unused scandir check X-Git-Tag: 1.0.0-pre2~125 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6c3b28982261a5552b740a0f6cdc1a300393ee30;p=vlc Remove unused scandir check --- diff --git a/configure.ac b/configure.ac index 280ed5f4dd..8795978746 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 224a134f2d..d9872d7b6c 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) {