about summary refs log tree commit diff
path: root/sysdeps/riscv/bits/endianness.h
blob: 952d08595a836d5d02507fdec319a24b1945dc16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _BITS_ENDIANNESS_H
#define _BITS_ENDIANNESS_H 1

#ifndef _BITS_ENDIAN_H
# error "Never use <bits/endianness.h> directly; include <endian.h> instead."
#endif

/* RISC-V is little-endian.  */
#define __BYTE_ORDER __LITTLE_ENDIAN

#endif /* bits/endianness.h */