From 3cd98287634d59d52ad4dd94498a649bac1113f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 13 Feb 2006 14:29:03 +0000 Subject: [PATCH] fix the build for R5 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16378 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/backgrounds/BackgroundsView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/preferences/backgrounds/BackgroundsView.cpp b/src/preferences/backgrounds/BackgroundsView.cpp index 315b1070d4..c0577febfd 100644 --- a/src/preferences/backgrounds/BackgroundsView.cpp +++ b/src/preferences/backgrounds/BackgroundsView.cpp @@ -875,6 +875,14 @@ BackgroundsView::FindPlacementMode() } +#ifndef __HAIKU__ +inline bool operator!=(const rgb_color& x, const rgb_color& y) +{ + return (x.red!=y.red || x.blue!=y.blue || x.green!=y.green); +} +#endif + + void BackgroundsView::UpdateButtons() {