wok-stable annotate fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 5858
Add tmux
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jul 17 17:52:21 2010 +0000 (2010-07-17) |
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); |