* 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:
Axel Dörfler 2008-07-10 11:52:57 +00:00
parent a120934388
commit b5753dd7c9

View File

@ -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: