wok-current
annotate fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 4623
improve tilda (thanks chompa)
author |
Rohit Joshi <jozee@slitaz.org> |
date |
Fri Dec 18 16:22:21 2009 +0000 (2009-12-18) |
parents |
|
children |
|
rev |
line source |
pankso@4242
|
1 --- src/filename_list.cxx 2009-09-24 21:22:26.000000000 +0200
|
pankso@4242
|
2 +++ src/filename_list.cxx 2009-09-24 21:28:12.000000000 +0200
|
pankso@4242
|
3 @@ -63,7 +63,7 @@
|
pankso@4242
|
4 // some Unix systems):
|
pankso@4242
|
5 int n = scandir(d, list, 0, sort);
|
pankso@4242
|
6 #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
|
pankso@4242
|
7 - int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
|
pankso@4242
|
8 + int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
|
pankso@4242
|
9 #elif defined(__hpux) || defined(__CYGWIN__)
|
pankso@4242
|
10 // HP-UX, Cygwin define the comparison function like this:
|
pankso@4242
|
11 int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
|