wok-current
annotate fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 6339
wbarconf : add pt_BR translation (thanks blconde)
author |
Antoine Bodin <gokhlayeh@mailoo.org> |
date |
Sun Sep 19 13:33:36 2010 +0200 (2010-09-19) |
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);
|