Portability - Haiku

- Added build notes for Haiku, requiring a 'setgcc gcc4' command.
- Modified directory code to accomodate Haiku's struct dirent
  anomalies (same as Solaris).
This commit is contained in:
Paul Beckingham 2010-02-15 23:55:03 -05:00
parent 6554e4d0f4
commit e923282181
2 changed files with 7 additions and 3 deletions

View file

@ -122,7 +122,7 @@ void Directory::list (
!strcmp (de->d_name, ".."))
continue;
#ifdef SOLARIS
#if defined (SOLARIS) || defined (HAIKU)
struct stat s;
stat (de->d_name, &s);
if (recursive && s.st_mode & S_IFDIR)