Portability - Haiku R1/alpha1

- Added necessary include files and edits in order to build task on
  Haiku R1/alpha1.
This commit is contained in:
Paul Beckingham
2009-09-27 17:02:20 -04:00
parent fba076a0d0
commit b3d40b2554
9 changed files with 51 additions and 49 deletions

View File

@@ -876,7 +876,7 @@ void Table::sort (std::vector <int>& order)
if (gap > 1)
{
gap = (int) ((float)gap / 1.3);
if (gap == 10 or gap == 9)
if (gap == 10 || gap == 9)
gap = 11;
}