mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-01 11:20:19 +02:00
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:
parent
6554e4d0f4
commit
e923282181
2 changed files with 7 additions and 3 deletions
|
@ -25,8 +25,12 @@ Cygwin 1.7
|
|||
|
||||
|
||||
Haiku Alpha/R1
|
||||
There are problems building task beta3 with Haiku that are not yet addressed.
|
||||
This should be resolved before the release of task 1.9.0.
|
||||
Task must be built with gcc version 4.x, so make sure you run:
|
||||
|
||||
$ setgcc gcc4
|
||||
|
||||
To switch from gcc 2.95 to gcc 4.x.
|
||||
|
||||
|
||||
|
||||
Troubleshooting
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue