summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh64/bits/endian.h
blob: ae7e3bb2d9ec7b9989629ebe12d5066b2c62ce18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * libc/sysdeps/linux/sh64/bits/endian.h
 *
 * Copyright (C) 2003  Paul Mundt
 *
 * This file is subject to the terms and conditions of the GNU Lesser
 * General Public License.  See the file COPYING.LIB in the main
 * directory of this archive for more details.
 */

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

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