diff --git a/src/preferences/screen/Jamfile b/src/preferences/screen/Jamfile index 9245c018f5..3a4fcf5947 100644 --- a/src/preferences/screen/Jamfile +++ b/src/preferences/screen/Jamfile @@ -1,5 +1,6 @@ SubDir HAIKU_TOP src preferences screen ; +SetSubDirSupportedPlatformsBeOSCompatible ; AddSubDirSupportedPlatforms libbe_test ; UsePrivateHeaders [ FDirName graphics radeon ] ; diff --git a/src/preferences/screen/MonitorView.cpp b/src/preferences/screen/MonitorView.cpp index 8007b56dae..a4b4f6a3b4 100644 --- a/src/preferences/screen/MonitorView.cpp +++ b/src/preferences/screen/MonitorView.cpp @@ -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) {