Enabled building under BeOS, and fixed the build under R5.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15702 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-12-28 23:27:32 +00:00
parent 6f9dddcb72
commit 99383764f6
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,6 @@
SubDir HAIKU_TOP src preferences screen ;
SetSubDirSupportedPlatformsBeOSCompatible ;
AddSubDirSupportedPlatforms libbe_test ;
UsePrivateHeaders [ FDirName graphics radeon ] ;

View File

@ -125,6 +125,16 @@ MonitorView::SetResolution(int32 width, int32 height)
}
#ifdef HAIKU_TARGET_PLATFORM_BEOS
// r5 doesn't have this one
bool
operator!=(const rgb_color &a, const rgb_color &b)
{
return a.red != b.red || a.green != b.green || a.blue != b.blue;
}
#endif
void
MonitorView::MessageReceived(BMessage* message)
{