Thread (13 messages) 13 messages, 6 authors, 2007-07-24

Re: [RFH] Partition table recovery

From: Rene Herman <hidden>
Date: 2007-07-23 13:33:49
Also in: linux-fsdevel, lkml

On 07/23/2007 03:15 PM, Jan-Benedict Glaw wrote:
quoted
quoted
static inline uint32_t le_32(uint32_t n)
{
#ifdef __LITTLE_ENDIAN
	return n;
#else
	return bswap_32(n);
#endif
}
#if __BYTE_ORDER == __LITTLE_ENDIAN, that is. sigh.
Don't forget PDP11 byteorder :-)
How could I? It cracks me up every time...

Rene.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help