wok annotate fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 7828
Add wyrd
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 26 20:06:29 2010 +0000 (2010-12-26) |
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); |