zig/lib/libc/include/x86_64-netbsd-none/amd64/bswap.h
Alex Rønne Petersen 553cb3ed46
libc: Add NetBSD system and libc headers from 10.1.
sys/param.h was manually adjusted to not define __NetBSD_Version__ since it will
be defined by the compiler.
2025-05-17 04:41:27 +02:00

21 lines
No EOL
370 B
C
Vendored

/* $NetBSD: bswap.h,v 1.3 2008/10/26 00:08:15 mrg Exp $ */
/* Written by Manuel Bouyer. Public domain */
#ifndef _X86_64_BSWAP_H_
#define _X86_64_BSWAP_H_
#ifdef __x86_64__
#include <machine/byte_swap.h>
#define __BSWAP_RENAME
#include <sys/bswap.h>
#else /* __x86_64__ */
#include <i386/bswap.h>
#endif /* __x86_64__ */
#endif /* !_X86_64_BSWAP_H_ */