* Added a __swap_int32() function to the runtime_loader - this fixes the build,
since KMessage needs it now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26366 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -58,6 +58,14 @@ printf(const char *format, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
extern "C" uint32
|
||||||
|
__swap_int32(uint32 value)
|
||||||
|
{
|
||||||
|
return value >> 24 | (value >> 8) & 0xff00 | value << 24
|
||||||
|
| (value << 8) & 0xff0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Copied from libroot/os/thread.c:
|
// Copied from libroot/os/thread.c:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user