diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-06-17 18:48:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 18:48:09 +0200 |
commit | 9df1b5b04923340aca69ce3ed4565fceeb042c01 (patch) | |
tree | d01b3c5a8bfb7668c5abac4efbb4e70bbb203b6d /src/filelist.c | |
parent | a624883d92ea54886b739f1000e39ccf1afc5577 (diff) | |
parent | 4ef0c142d96d97e517455b5711782fa5706cc2ff (diff) |
Merge pull request #540 from tbvdm/strverscmp
Enable --version-sort on systems without strverscmp()
Diffstat (limited to 'src/filelist.c')
-rw-r--r-- | src/filelist.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/filelist.c b/src/filelist.c index 4939d4d..361ac19 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -402,7 +402,6 @@ void feh_file_dirname(char *dst, feh_file * f, int maxlen) dst[n] = '\0'; } -#ifdef HAVE_VERSCMP static inline int strcmp_or_strverscmp(const char *s1, const char *s2) { if (!opt.version_sort) @@ -410,9 +409,6 @@ static inline int strcmp_or_strverscmp(const char *s1, const char *s2) else return(strverscmp(s1, s2)); } -#else -#define strcmp_or_strverscmp strcmp -#endif int feh_cmp_filename(void *file1, void *file2) { |