diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-16 20:52:50 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:25 +0200 |
commit | e50a776d7615173ede86f5f492bed5d2b75214ec (patch) | |
tree | 801c88fc5ffb7d352826466f28a4d823523b92cd /libc/misc/dirent/alphasort64.c | |
parent | 329befa2612ab31a5992684acee2a6e5e3861673 (diff) |
versionsort*.c, alphasort*.c: do not need *64 compiled for __WORDSIZE = 64
use a strong_alias instead
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/dirent/alphasort64.c')
-rw-r--r-- | libc/misc/dirent/alphasort64.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/misc/dirent/alphasort64.c b/libc/misc/dirent/alphasort64.c index d65b59647..ef1e83e45 100644 --- a/libc/misc/dirent/alphasort64.c +++ b/libc/misc/dirent/alphasort64.c @@ -5,12 +5,14 @@ */ #include <_lfs_64.h> - #include <dirent.h> -#include <string.h> -#include "dirstream.h" + +#if __WORDSIZE != 64 +# include <string.h> +# include "dirstream.h" int alphasort64(const struct dirent64 **a, const struct dirent64 **b) { return strcmp((*a)->d_name, (*b)->d_name); } +#endif |