1 /* $NetBSD: bswap.h,v 1.1 2002/06/05 01:04:21 fredette Exp $ */ 2 3 /* Written by Manuel Bouyer. Public domain */ 4 5 #ifndef _HPPA_BSWAP_H_ 6 #define _HPPA_BSWAP_H_ 7 8 #define __BSWAP_RENAME 9 #include <sys/bswap.h> 10 11 #ifdef __GNUC__ 12 13 #include <machine/byte_swap.h> 14 #define bswap16(x) __byte_swap_word(x) 15 #define bswap32(x) __byte_swap_long(x) 16 17 #endif /* __GNUC__ */ 18 19 #endif /* !_HPPA_BSWAP_H_ */ 20