| 1 | /* $NetBSD: bswap.h,v 1.3 2008/10/26 00:08:15 mrg Exp $ */ |
|---|---|
| 2 | |
| 3 | /* Written by Manuel Bouyer. Public domain */ |
| 4 | |
| 5 | #ifndef _X86_64_BSWAP_H_ |
| 6 | #define _X86_64_BSWAP_H_ |
| 7 | |
| 8 | #ifdef __x86_64__ |
| 9 | |
| 10 | #include <machine/byte_swap.h> |
| 11 | |
| 12 | #define __BSWAP_RENAME |
| 13 | #include <sys/bswap.h> |
| 14 | |
| 15 | #else /* __x86_64__ */ |
| 16 | |
| 17 | #include <i386/bswap.h> |
| 18 | |
| 19 | #endif /* __x86_64__ */ |
| 20 | |
| 21 | #endif /* !_X86_64_BSWAP_H_ */ |
| 22 |