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:
parent
6f9dddcb72
commit
99383764f6
@ -1,5 +1,6 @@
|
||||
SubDir HAIKU_TOP src preferences screen ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
AddSubDirSupportedPlatforms libbe_test ;
|
||||
|
||||
UsePrivateHeaders [ FDirName graphics radeon ] ;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user