blob: 28fef7d3f996971ab437e5406dc2aa3aed7fb480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* Copyright (C) 2008-2009 Hai Zaar, Codefidence Ltd <haizaar@codefidence.com>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <_lfs_64.h>
#include <dirent.h>
#if __WORDSIZE != 64
# include <string.h>
# include "dirstream.h"
int versionsort64(const struct dirent64 **a, const struct dirent64 **b)
{
return strverscmp((*a)->d_name, (*b)->d_name);
}
#endif
|