2001-05-30 17:08:34 +04:00
|
|
|
/* $NetBSD: bswap.h,v 1.3 2001/05/30 13:08:34 tsubai Exp $ */
|
1999-01-15 16:31:15 +03:00
|
|
|
|
2001-05-30 17:08:34 +04:00
|
|
|
#ifndef _POWERPC_BSWAP_H_
|
|
|
|
#define _POWERPC_BSWAP_H_
|
1999-01-15 16:31:15 +03:00
|
|
|
|
1999-08-21 09:39:51 +04:00
|
|
|
#include <sys/bswap.h>
|
1999-01-15 16:31:15 +03:00
|
|
|
|
2001-05-30 17:08:34 +04:00
|
|
|
#ifdef __GNUC__
|
|
|
|
#include <powerpc/byte_swap.h>
|
|
|
|
#define bswap16(x) __bswap16(x)
|
|
|
|
#define bswap32(x) __bswap32(x)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _POWERPC_BSWAP_H_ */
|