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:
@@ -389,6 +389,22 @@ OffscreenBitmap::View() const
|
|||||||
|
|
||||||
// #pragma mark -
|
// #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 {
|
namespace BPrivate {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user