summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/c6x/bits/endian.h
blob: 7297f9e2e6692455a14f273bf39c4e31b3f8c3de (plain)
1
2
3
4
5
6
7
8
9
10
11
/* c6x is little-endian by default.  */

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

#ifdef _BIG_ENDIAN
#define __BYTE_ORDER __BIG_ENDIAN
#else
#define __BYTE_ORDER __LITTLE_ENDIAN
#endif