synced with rev 1.12 from OT rep, fixed build on R5

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17931 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-06-27 09:18:25 +00:00
parent f8262c2b19
commit 75acb8cbf8

View File

@ -389,6 +389,22 @@ OffscreenBitmap::View() const
// #pragma mark -
#if !__HAIKU__
inline bool
operator==(const rgb_color& a, const rgb_color& b)
{
return *(const uint32*)&a == *(const uint32*)&b;
}
inline bool
operator!=(const rgb_color& a, const rgb_color& b)
{
return *(const uint32*)&a != *(const uint32*)&b;
}
#endif
namespace BPrivate {