Home | History | Annotate | Line # | Download | only in include
bswap.h revision 1.3
      1 /*      $NetBSD: bswap.h,v 1.3 2001/03/30 20:00:05 leo Exp $      */
      2 
      3 #ifndef _MACHINE_BSWAP_H_
      4 #define	_MACHINE_BSWAP_H_
      5 
      6 #define	__BSWAP_RENAME
      7 #include <sys/bswap.h>
      8 
      9 #ifdef	__GNUC__
     10 
     11 #include <m68k/byte_swap.h>
     12 
     13 #define bswap16(x)	__byte_swap_word(x)
     14 #define bswap32(x)	__byte_swap_long(x)
     15 
     16 #endif	/* __GNUC__ */
     17 
     18 #endif /* !_MACHINE_BSWAP_H_ */
     19