aboutsummaryrefslogtreecommitdiffstats
path: root/module/zstd/zstd_sparc.c
blob: 463df99bd7e39fff67fd27a30df0f359d4687110 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifdef __sparc__
#include <stdint.h>
#include <sys/byteorder.h>
#include "include/sparc_compat.h"
uint64_t __bswapdi2(uint64_t in) {
	return (BSWAP_64(in));
}
uint32_t __bswapsi2(uint32_t in) {
	return (BSWAP_32(in));
}
#endif